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

本站现有博文320篇,共被浏览757161

本站已经建立2422天!

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