Searched refs:allocated_tensor (Results 1 – 2 of 2) sorted by relevance
105 tensorflow::TensorProto* allocated_tensor = new tensorflow::TensorProto; in AddNewNode() local110 allocated_tensor->set_allocated_tensor_shape(allocated_tensor_shape); in AddNewNode()111 allocated_tensor->set_tensor_content( in AddNewNode()114 (*node->mutable_attr())["value"].set_allocated_tensor(allocated_tensor); in AddNewNode()124 tensorflow::TensorProto* allocated_tensor = new tensorflow::TensorProto; in AddShapeNode() local129 allocated_tensor->set_allocated_tensor_shape(allocated_tensor_shape); in AddShapeNode()130 allocated_tensor->set_tensor_content( in AddShapeNode()133 (*node->mutable_attr())["value"].set_allocated_tensor(allocated_tensor); in AddShapeNode()
184 tensorflow::TensorProto* allocated_tensor = in MaybeMergeConstNodes() local187 allocated_tensor->mutable_tensor_shape(); in MaybeMergeConstNodes()194 allocated_tensor->set_dtype(tensor.dtype()); in MaybeMergeConstNodes()196 CHECK_EQ(allocated_tensor->dtype(), tensor.dtype()); in MaybeMergeConstNodes()239 allocated_tensor->set_tensor_content( in MaybeMergeConstNodes()246 allocated_tensor->set_tensor_content( in MaybeMergeConstNodes()