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

本站现有博文323篇,共被浏览795357

本站已经建立2493天!

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