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

本站现有博文324篇,共被浏览809061

本站已经建立2511天!

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