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

本站现有博文332篇,共被浏览877796

本站已经建立2584天!

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