EADST

Paddle: paddle.multiply and paddle.matmul

Paddle: paddle.multiply and paddle.matmul

import paddle

x = paddle.to_tensor([[1, 2], [3, 4]], dtype='float32')
y = paddle.to_tensor([[5, 6], [7, 8]], dtype='float32')

res_multiply = paddle.multiply(x, y)
print(res_multiply) # Tensor(shape=[2, 2], dtype=float32, place=CUDAPlace(0), stop_gradient=True, [[5. , 12.], [21., 32.]])


res_matmul = paddle.matmul(x, y)
print(res_matmul.numpy()) # [[19., 22.] [43., 50.]]

References:

Paddle API 文档

Paddle API Reference

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
CV llama.cpp FP32 Color Food Ubuntu Magnet Data tar CEIR 飞书 ChatGPT Clash Land Translation GPT4 Harness LoRA Hotel UI ONNX Plate CLAP Linux Statistics Windows Nginx Plotly 报税 OCR Input 域名 Paddle Jupyter Jetson PDF ModelScope 多线程 GoogLeNet CTC COCO Qwen2.5 SQL LeetCode XGBoost LaTeX WebCrawler UNIX Tensor DeepSeek RAR Anaconda 阿里云 Streamlit uWSGI Sklearn OpenCV 关于博主 Transformers Card Django Interview 财报 Safetensors Random icon API RGB Animate RL Claude diffusers HuggingFace hf Template SPIE InvalidArgumentError Use CSV 顶会 多进程 Git Pickle Heatmap FlashAttention TensorFlow 签证 LLAMA FP64 BeautifulSoup scipy Gemma PyCharm EXCEL BF16 tqdm Markdown Algorithm News Docker FastAPI 论文 Vmess Web 腾讯云 Review NameSilo SQLite GIT FP16 Password Michelin logger v0.dev Augmentation Hilton 音频 Freesound Rebuttal Bitcoin Logo Image2Text printf VPN PDB 算法题 AI API网关 BTC Disk 第一性原理 SVR 强化学习 Attention YOLO Github 公式 Pytorch Crawler ms-swift git Vim 图形思考法 v2ray mmap Dataset Breakpoint DeepStream Qwen2 XML Agent Google Baidu 搞笑 git-lfs FP8 Datetime VGG-16 Website 论文速读 版权 继承 transformers IndexTTS2 Shortcut Diagram Qwen PyTorch Quantize Numpy Bin C++ Python SAM Bert CAM 云服务器 MD5 Miniforge GPTQ QWEN Permission PIP Mixtral Knowledge ResNet-50 Llama WAN TensorRT Quantization TTS JSON GGML OpenAI Tiktoken Paper Ptyhon LLM 净利润 Base64 torchinfo Zip CC Video CUDA Pillow NLP Cloudreve Math uwsgi 证件照 Hungarian Pandas Excel Distillation Bipartite TSV Conda NLTK Domain Proxy Tracking 图标 VSCode Search Firewall 递归学习法 HaggingFace
站点统计

本站现有博文336篇,共被浏览940166

本站已经建立2650天!

热门文章
文章归档
回到顶部