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

Function BatchUnchangedSquareShapeFn

tensorflow/core/ops/linalg_ops.cc:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43Status BatchUnchangedSquareShapeFn(InferenceContext* c) {
44 ShapeHandle out;
45 TF_RETURN_IF_ERROR(MakeBatchSquareMatrix(c, c->input(0), &out));
46 c->set_output(0, out);
47 return Status::OK();
48}
49
50// The first input is [...,M,N] and second input is either [...,M,K] or [...,M].
51// Output is [...,N,K] or [...,N]. If <square>, then input is [...,M,M].

Callers

nothing calls this directly

Calls 3

MakeBatchSquareMatrixFunction · 0.85
inputMethod · 0.45
set_outputMethod · 0.45

Tested by

no test coverage detected