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

Function FloatVector

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

Source from the content-addressed store, hash-verified

114}
115
116xla::LiteralProto FloatVector(absl::Span<const float> v) {
117 auto array = xla::LiteralUtil::CreateR1<float>(v);
118 return array.ToProto();
119}
120
121xla::LiteralProto FloatMatrix(
122 std::initializer_list<std::initializer_list<float>> v,

Callers 1

TESTFunction · 0.85

Calls 1

ToProtoMethod · 0.45

Tested by

no test coverage detected