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

Method Convert

tensorflow/compiler/xla/literal.cc:1311–1314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309} // namespace
1310
1311StatusOr<Literal> LiteralBase::Convert(
1312 PrimitiveType primitive_dest_type) const {
1313 return ConvertSwitch(*this, primitive_dest_type, /*bitcast=*/false);
1314}
1315
1316StatusOr<Literal> LiteralBase::BitcastConvert(
1317 PrimitiveType primitive_dest_type) const {

Callers 14

TEST_FFunction · 0.45
MakeR1ConstantHloFunction · 0.45
MakeScalarLikeFunction · 0.45
HandleSoftmaxMethod · 0.45
HandleBatchNormGradMethod · 0.45
RunR1Method · 0.45
RunR2Method · 0.45
RunR3Method · 0.45
RunR0Method · 0.45
RunR1Method · 0.45

Calls 1

ConvertSwitchFunction · 0.85

Tested by 8

TEST_FFunction · 0.36
RunR1Method · 0.36
RunR2Method · 0.36
RunR3Method · 0.36
RunR0Method · 0.36
RunR1Method · 0.36
RunR2Method · 0.36
RunR3Method · 0.36