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

Function PrintTensorProto

tensorflow/cc/framework/cc_op_gen.cc:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207string PrintTensorProto(const TensorProto& proto) {
208 return strings::StrCat("Input::Initializer(", "{", PrintTensor(proto), "}, ",
209 PrintTensorShape(proto.tensor_shape()),
210 ").AsTensorProto()");
211}
212
213string PrintAttrValue(const string& op, const AttrValue& attr_value) {
214 switch (attr_value.value_case()) {

Callers 1

PrintAttrValueFunction · 0.85

Calls 3

PrintTensorShapeFunction · 0.85
PrintTensorFunction · 0.70
StrCatFunction · 0.50

Tested by

no test coverage detected