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

本站现有博文340篇,共被浏览1017523次

本站已经建立2718天!

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