Searched refs:DEFINE_GET_ATTR (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | node_def_util.cc | 210 #define DEFINE_GET_ATTR(TYPE, FIELD, ATTR_TYPE, APPEND_OP, CAST, ...) \ macro 266 DEFINE_GET_ATTR(string, s, "string", emplace_back, v, ;) 268 DEFINE_GET_ATTR(int64, i, "int", emplace_back, v, ;) 269 DEFINE_GET_ATTR(int32, i, "int", emplace_back, static_cast<int32>(v), 275 DEFINE_GET_ATTR(float, f, "float", emplace_back, v, ;) 279 DEFINE_GET_ATTR(bool, b, "bool", push_back, v, ;) 280 DEFINE_GET_ATTR(DataType, type, "type", emplace_back, static_cast<DataType>(v), 282 DEFINE_GET_ATTR(TensorShapeProto, shape, "shape", emplace_back, v, ;) 283 DEFINE_GET_ATTR(TensorShape, shape, "shape", emplace_back, TensorShape(v), 285 DEFINE_GET_ATTR(PartialTensorShape, shape, "shape", emplace_back, [all …]
|