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

Method CpuCastOp

tensorflow/core/kernels/cast_op.cc:122–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122CpuCastOp::CpuCastOp(OpKernelConstruction* ctx) : CastOpBase(ctx) {
123 OP_REQUIRES_OK(ctx, Prepare());
124}
125
126Status CpuCastOp::Prepare() {
127 if (external_src_dtype_ == external_dst_dtype_) {

Callers

nothing calls this directly

Calls 1

PrepareFunction · 0.50

Tested by

no test coverage detected