- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AsTensorProto (0.1 sec)
-
tensorflow/cc/framework/ops.h
struct RealType { typedef tstring type; }; template <typename T> struct RealType<T, false> { typedef T type; }; // END_SKIP_DOXYGEN TensorProto AsTensorProto() { TensorProto tensor_proto; if (tensor.NumElements() > 1) { tensor.AsProtoTensorContent(&tensor_proto); } else { tensor.AsProtoField(&tensor_proto); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
string PrintTensorProto(const TensorProto& proto) { return strings::StrCat("Input::Initializer(", "{", PrintTensor(proto), "}, ", PrintTensorShape(proto.tensor_shape()), ").AsTensorProto()"); } string PrintAttrValue(const string& op, const AttrValue& attr_value) { switch (attr_value.value_case()) { case AttrValue::kS: return PrintString(attr_value.s()); case AttrValue::kI:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0)