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

本站现有博文337篇,共被浏览963789次

本站已经建立2676天!

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