Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tools/graph_transforms/
Dfuse_quantized_convolution.cc206 AttrValue attr_tensor; in FuseQuantizedConvolutionAndRequantize() local
207 TensorProto* t = attr_tensor.mutable_tensor(); in FuseQuantizedConvolutionAndRequantize()
209 bias_node->mutable_attr()->insert({"value", attr_tensor}); in FuseQuantizedConvolutionAndRequantize()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_parallel.cc43 AttrValue attr_tensor; in AddNodeDivConst() local
44 auto tensor = attr_tensor.mutable_tensor(); in AddNodeDivConst()
47 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodeDivConst()
Dlayout_optimizer.cc417 AttrValue attr_tensor; in AddNodePermConst() local
422 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in AddNodePermConst()
423 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodePermConst()
443 AttrValue attr_tensor; in AddNodeConstScalar() local
446 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in AddNodeConstScalar()
447 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodeConstScalar()
1350 AttrValue attr_tensor; in AddNodeShapeConst() local
1356 tensor.AsProtoTensorContent(attr_tensor.mutable_tensor()); in AddNodeShapeConst()
1357 node->mutable_attr()->insert({"value", attr_tensor}); in AddNodeShapeConst()
Dconstant_folding.cc974 AttrValue* attr_tensor) { in CreateConstantTensorAttrValue() argument
975 TensorProto* t = attr_tensor->mutable_tensor(); in CreateConstantTensorAttrValue()
1076 AttrValue attr_tensor; in CreateNodeDef() local
1077 TensorProto* t = attr_tensor.mutable_tensor(); in CreateNodeDef()
1145 node->mutable_attr()->insert({"value", attr_tensor}); in CreateNodeDef()