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

本站现有博文339篇,共被浏览995805次

本站已经建立2706天!

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