import tensorflow as tf
import numpy as np
a = np.random.random([2, 6])
b = np.random.random([6, 3])
ta = tf.Variable(a)
tb = tf.Variable(b)
multiply = tf.matmul(ta, tb)
init_op = tf.global_variables_initializer()
s = tf.InteractiveSession()
s.run(init_op)
s.run(multiply)
100 TensorFlow系列 | Demo
TensorFlow系列相关文章
最近热门
- 流匹配(Flow Matching,FM)
- EvalMuse-40K数据集
- 多模态对齐(Multimodal Alignment)
- 连续归一化流(Continuous Normalizing Flows,简称CNF)
- Minimum Detectable Effect(MDE)最小可检测效应
- SO-PMI(Semantic Orientation Pointwise Mutual Information,情感倾向点互信息算法)
- GradNorm
- Weighted Cross-Entropy Loss(WCE loss)
- Skip connection(跳跃连接)
- RQ-VAE(Residual-Quantized VAE)变分自编码器和残差量化
最常浏览
- 016 推荐系统 | 排序学习(LTR - Learning To Rank)
- 偏微分符号
- i.i.d(又称IID)
- 利普希茨连续条件(Lipschitz continuity)
- (error) MOVED 原因和解决方案
- TextCNN详解
- 找不到com.google.protobuf.GeneratedMessageV3的类文件
- Deployment failed: repository element was not specified in the POM inside distributionManagement
- cannot access com.google.protobuf.GeneratedMessageV3 解决方案
- CLUSTERDOWN Hash slot not served 问题原因和解决办法
×