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

Method WriteData

tensorflow/lite/delegates/gpu/cl/tensor.cc:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139Status Tensor::WriteData(CLCommandQueue* queue, const TensorFloat32& src) {
140 RETURN_IF_ERROR(IsValid(src.shape));
141 return WriteDataBHWC(absl::MakeConstSpan(src.data), queue);
142}
143
144Status Tensor::ReadDataBHWC(absl::Span<float> out,
145 CLCommandQueue* queue) const {

Callers

nothing calls this directly

Calls 1

IsValidFunction · 0.85

Tested by

no test coverage detected