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

Function ConstantR2FromArray2D

tensorflow/compiler/xla/client/xla_builder.h:2122–2126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2120
2121template <typename NativeT>
2122XlaOp ConstantR2FromArray2D(XlaBuilder* builder,
2123 const Array2D<NativeT>& values) {
2124 return ConstantLiteral(builder,
2125 LiteralUtil::CreateR2FromArray2D<NativeT>(values));
2126}
2127
2128template <typename NativeT>
2129XlaOp ConstantR3FromArray3DWithLayout(XlaBuilder* builder,

Callers 6

XLA_TEST_FFunction · 0.85
XLA_TYPED_TESTFunction · 0.85
XLA_TEST_FFunction · 0.85
DOT_ReorderContractingFunction · 0.85
XLA_TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 1

ConstantLiteralFunction · 0.85

Tested by 6

XLA_TEST_FFunction · 0.68
XLA_TYPED_TESTFunction · 0.68
XLA_TEST_FFunction · 0.68
DOT_ReorderContractingFunction · 0.68
XLA_TEST_FFunction · 0.68
TEST_FFunction · 0.68