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

Function FloatMatrix

tensorflow/compiler/xrt/tests/raw_api_test.cc:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121xla::LiteralProto FloatMatrix(
122 std::initializer_list<std::initializer_list<float>> v,
123 const xla::Layout& layout) {
124 auto array = xla::LiteralUtil::CreateR2WithLayout<float>(v, layout);
125 return array.ToProto();
126}
127
128xla::Literal ReadOutputLiteral(const std::vector<Tensor>& outputs, size_t idx) {
129 xla::LiteralProto response;

Callers 1

TESTFunction · 0.85

Calls 1

ToProtoMethod · 0.45

Tested by

no test coverage detected