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

本站现有博文327篇,共被浏览828349

本站已经建立2534天!

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