MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Conjugate

Method Conjugate

tensorflow/core/kernels/matmul_op_impl.h:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73template <typename Scalar, bool IsComplex = true>
74struct ParallelMatMulKernel {
75 static void Conjugate(const OpKernelContext* context, Tensor* out) {
76 const Eigen::ThreadPoolDevice d = context->eigen_cpu_device();
77 auto z = out->tensor<Scalar, 3>();
78 z.device(d) = z.conjugate();
79 }
80
81 static void Run(const OpKernelContext* context, const Tensor& in_x,
82 const Tensor in_y, bool adj_x, bool adj_y, bool trans_x,

Callers

nothing calls this directly

Calls 3

conjugateMethod · 0.80
eigen_cpu_deviceMethod · 0.45
deviceMethod · 0.45

Tested by

no test coverage detected