Home
last modified time | relevance | path

Searched refs:attr_tensor (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_parallel.cc44 AttrValue attr_tensor; in AddNodeDivConst() local
45 auto tensor = attr_tensor.mutable_tensor(); in AddNodeDivConst()
48 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodeDivConst()
Dlayout_optimizer.cc425 AttrValue attr_tensor; in AddNodePermConst() local
430 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in AddNodePermConst()
431 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodePermConst()
451 AttrValue attr_tensor; in AddNodeConstScalar() local
454 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in AddNodeConstScalar()
455 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodeConstScalar()
1409 AttrValue attr_tensor; in AddNodeShapeConst() local
1415 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in AddNodeShapeConst()
1416 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodeShapeConst()
Dgeneric_layout_optimizer_transposer.cc310 AttrValue attr_tensor; in CreateConstPermNode() local
315 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in CreateConstPermNode()
316 node.mutable_attr()->insert({"value", attr_tensor}); in CreateConstPermNode()
1257 AttrValue attr_tensor; in AddNodeShapeConst() local
1264 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in AddNodeShapeConst()
1265 new_node.mutable_attr()->insert({"value", attr_tensor}); in AddNodeShapeConst()
Dconstant_folding.cc1131 AttrValue* attr_tensor) { in CreateConstantTensorAttrValue() argument
1132 TensorProto* t = attr_tensor->mutable_tensor(); in CreateConstantTensorAttrValue()
1236 AttrValue attr_tensor; in CreateNodeDef() local
1237 TensorProto* t = attr_tensor.mutable_tensor(); in CreateNodeDef()
1305 node->mutable_attr()->insert({"value", attr_tensor}); in CreateNodeDef()