MatMul defines the matrix multiplication operation between the tensor and `tfout`. `tfout` dtype is converted to tensor.Dtype() before multiplying
(tfout tf.Output)
| 130 | // and `tfout`. |
| 131 | // `tfout` dtype is converted to tensor.Dtype() before multiplying |
| 132 | func (tensor *Tensor) MatMul(tfout tf.Output) *Tensor { |
| 133 | defer tensor.Check() |
| 134 | s := tensor.Path.SubScope("MatMul") |
| 135 | tensor.Output = op.MatMul(s, tensor.Output, Cast(s, tfout, tensor.Dtype())) |
| 136 | return tensor |
| 137 | } |
| 138 | |
| 139 | // Pow defines the pow operation x^y, where x are the tensor values |
| 140 | // y dtype is converted to tensor.Dtype() before executing Pow |