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

Method New

tensorflow/lite/delegates/gpu/cl/api.cc:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 static Status New(const TensorTieDef& def, TensorObject internal_object,
123 TensorObjectConverterBuilder* converter_builder,
124 Environment* env, std::unique_ptr<TensorTie>* tie) {
125 auto tie_impl = absl::make_unique<DefaultTensorTie>(def, internal_object);
126 RETURN_IF_ERROR(tie_impl->Init(converter_builder, env));
127 *tie = std::move(tie_impl);
128 return OkStatus();
129 }
130
131 Status CopyToExternalObject() final {
132 if (!converter_to_) {

Callers

nothing calls this directly

Calls 2

OkStatusFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected