MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Clone

Method Clone

tensorflow/compiler/xla/literal.cc:776–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774}
775
776Literal LiteralBase::Clone() const {
777 Literal result(shape());
778 TF_CHECK_OK(result.CopyFrom(*this));
779 return result;
780}
781
782string LiteralBase::GetAsString(absl::Span<const int64> multi_index,
783 const ShapeIndex& shape_index) const {

Callers 5

MakeContextMethod · 0.45
TESTFunction · 0.45
HostTensorToLiteralFunction · 0.45
ReshapeLiteralMethod · 0.45
ConvertSwitchFunction · 0.45

Calls 2

shapeFunction · 0.50
CopyFromMethod · 0.45

Tested by 2

MakeContextMethod · 0.36
TESTFunction · 0.36