/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | lstm_parser.cc | 59 RETURN_IF_ERROR(reader->ReadTensor(weights_tensor_id, &weights)); in SetFullyConnectedWeights() 130 RETURN_IF_ERROR( in BuildLstmGate() 133 RETURN_IF_ERROR(reader->ReadTensor(bias_id, &(fc_attr.bias))); in BuildLstmGate() 136 RETURN_IF_ERROR( in BuildLstmGate() 138 RETURN_IF_ERROR(graph->SetProducer(node->id, input_times_weights->id)); in BuildLstmGate() 147 RETURN_IF_ERROR( in BuildLstmGate() 150 RETURN_IF_ERROR(graph->AddConsumer(node->id, output_state->id)); in BuildLstmGate() 151 RETURN_IF_ERROR( in BuildLstmGate() 163 RETURN_IF_ERROR(reader->ReadTensor(cell_weight_id, &weights)); in BuildLstmGate() 166 RETURN_IF_ERROR(graph->AddConsumer(node->id, cell_state->id)); in BuildLstmGate() [all …]
|
D | model_builder.cc | 64 RETURN_IF_ERROR(reader->ReadTensor(weights_tensor_id, &weights)); in GetFullyConnectedAttributes() 96 RETURN_IF_ERROR(CheckStrides(strides_h, strides_w)); in CheckStridesAndDilation() 97 RETURN_IF_ERROR(CheckDilation(dilation_h, dilation_w)); in CheckStridesAndDilation() 109 RETURN_IF_ERROR(graph->SetProducer(node->id, (*value)->id)); in NewConstNode() 141 RETURN_IF_ERROR(reader->AddInput(node, 0)); in ParseInputsWithConstTensor() 142 RETURN_IF_ERROR(reader->AddInput(node, 1)); in ParseInputsWithConstTensor() 152 RETURN_IF_ERROR(reader->AddInput(node, runtime_tensor)); in ParseInputsWithConstTensor() 155 RETURN_IF_ERROR(reader->ReadTensor(constant_tensor, &tensor)); in ParseInputsWithConstTensor() 160 RETURN_IF_ERROR(reader->ReadTensor(constant_tensor, &tensor)); in ParseInputsWithConstTensor() 164 RETURN_IF_ERROR(reader->ReadTensor(constant_tensor, &tensor)); in ParseInputsWithConstTensor() [all …]
|
D | model.cc | 157 RETURN_IF_ERROR(LookupValue(value, &v)); in SetProducer() 160 RETURN_IF_ERROR(LookupNode(producer, &n)); in SetProducer() 185 RETURN_IF_ERROR(LookupValue(value, &v)); in RemoveProducer() 197 RETURN_IF_ERROR(LookupValue(value, &v)); in AddConsumer() 200 RETURN_IF_ERROR(LookupNode(consumer, &n)); in AddConsumer() 223 RETURN_IF_ERROR(LookupValue(old_value, &v_old)); in ReplaceInput() 226 RETURN_IF_ERROR(LookupValue(new_value, &v_new)); in ReplaceInput() 229 RETURN_IF_ERROR(LookupNode(node, &n)); in ReplaceInput() 260 RETURN_IF_ERROR(LookupValue(value, &v)); in RemoveConsumer() 263 RETURN_IF_ERROR(LookupNode(consumer, &n)); in RemoveConsumer() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | egl_environment.cc | 32 RETURN_IF_ERROR( in InitDisplay() 38 RETURN_IF_ERROR(TFLITE_GPU_CALL_EGL(eglInitialize, &is_initialized, in InitDisplay() 51 RETURN_IF_ERROR((*egl_environment)->Init()); in NewEglEnvironment() 66 RETURN_IF_ERROR( in Init() 78 RETURN_IF_ERROR(InitDisplay(&display_)); in Init() 93 RETURN_IF_ERROR(RequestGpuInfo(&gpu_info_)); in Init() 101 RETURN_IF_ERROR(CreateConfiglessContext(display_, EGL_NO_CONTEXT, &context_)); in InitConfiglessContext() 106 RETURN_IF_ERROR( in InitSurfacelessContext() 108 RETURN_IF_ERROR(context_.MakeCurrentSurfaceless()); in InitSurfacelessContext() 112 RETURN_IF_ERROR(RequestGpuInfo(&gpu_info_)); in InitSurfacelessContext() [all …]
|
D | gl_texture.cc | 79 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glActiveTexture, GL_TEXTURE0 + index)); in BindAsSampler2D() 87 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 89 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 92 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 98 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 100 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 103 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 105 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 108 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() 113 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glTexParameteri, target, in SetTextureWrapAndFilter() [all …]
|
D | runtime.cc | 258 RETURN_IF_ERROR(GlProgram::CreateWithShader(shader, &program)); in AddProgram() 261 RETURN_IF_ERROR(program.SetParameter(parameter)); in AddProgram() 288 RETURN_IF_ERROR(AllocateConstObject(object, &id)); in AddProgram() 289 RETURN_IF_ERROR( in AddProgram() 305 RETURN_IF_ERROR(CreateReadWriteShaderStorageBuffer<uint8_t>( in AllocateInternalObject() 307 RETURN_IF_ERROR( in AllocateInternalObject() 313 RETURN_IF_ERROR(MakeGlTextureRef(object, &gl_texture)); in AllocateInternalObject() 314 RETURN_IF_ERROR( in AllocateInternalObject() 336 RETURN_IF_ERROR(MakeGlBuffer(object, *data, &gl_buffer)); in AllocateConstObject() 338 RETURN_IF_ERROR(const_objects_.RegisterBuffer(*id, std::move(gl_buffer))); in AllocateConstObject() [all …]
|
D | api2.cc | 55 RETURN_IF_ERROR(GetSSBOSize(ssbo.id, &size_bytes)); in WrapSSBO() 98 RETURN_IF_ERROR(tie_impl->Init(converter_builder)); in New() 113 RETURN_IF_ERROR(tie_impl->Init(converter_builder)); in New() 151 RETURN_IF_ERROR(WrapSSBO(*ssbo, &buffer)); in SetExternalObject() 152 RETURN_IF_ERROR(objects_->RegisterBuffer(def().id, std::move(buffer))); in SetExternalObject() 184 RETURN_IF_ERROR(converter_builder->MakeConverter( in Init() 186 RETURN_IF_ERROR(converter_builder->MakeConverter( in Init() 200 RETURN_IF_ERROR( in Init() 208 RETURN_IF_ERROR(MaybeAllocateInternalObject()); in Init() 231 RETURN_IF_ERROR(MaybeAllocateGlBuffer(d, &ssbo)); in MaybeAllocateInternalObject() [all …]
|
D | gl_sync.cc | 30 RETURN_IF_ERROR(GlSync::NewSync(&sync)); in GlSyncWait() 51 RETURN_IF_ERROR(GlSync::NewSync(&sync)); in GlActiveSyncWait() 83 RETURN_IF_ERROR(CreatePersistentBuffer(sizeof(int), &sync.flag_buffer_)); in NewSync() 94 RETURN_IF_ERROR(GlShader::CompileShader(GL_COMPUTE_SHADER, *kCode, &shader)); in NewSync() 95 RETURN_IF_ERROR(GlProgram::CreateWithShader(shader, &sync.flag_program_)); in NewSync() 108 RETURN_IF_ERROR(flag_buffer_.BindToIndex(0)); in Wait() 111 RETURN_IF_ERROR(flag_program_.Dispatch({1, 1, 1})); in Wait()
|
D | gl_program.cc | 33 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glCreateProgram, program_id)); in CreateNewProgramId() 127 RETURN_IF_ERROR(CreateNewProgramId(&program_id)); in CreateWithShader() 133 RETURN_IF_ERROR( in CreateWithShader() 135 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glLinkProgram, program.id())); in CreateWithShader() 136 RETURN_IF_ERROR(CheckProgramLinked(program.id())); in CreateWithShader() 145 RETURN_IF_ERROR(CreateNewProgramId(&program_id)); in CreateWithBinaryShader() 151 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glProgramBinary, program.id(), in CreateWithBinaryShader() 154 RETURN_IF_ERROR(CheckProgramLinked(program.id())); in CreateWithBinaryShader() 162 RETURN_IF_ERROR( in GetBinary() 173 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glGetProgramBinary, id_, size, in GetBinary() [all …]
|
/external/llvm-project/llvm/tools/llvm-rc/ |
D | ResourceFileWriter.cpp | 26 #define RETURN_IF_ERROR(Expr) \ macro 228 RETURN_IF_ERROR(AddRes('"')); in processString() 268 RETURN_IF_ERROR(AddEscapedChar(ReadInt)); in processString() 285 RETURN_IF_ERROR(AddEscapedChar(ReadInt)); in processString() 294 RETURN_IF_ERROR(AddRes('\b')); in processString() 298 RETURN_IF_ERROR(AddRes('\n')); in processString() 302 RETURN_IF_ERROR(AddRes('\r')); in processString() 307 RETURN_IF_ERROR(AddRes('\t')); in processString() 311 RETURN_IF_ERROR(AddRes('\\')); in processString() 320 RETURN_IF_ERROR(AddRes('"')); in processString() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | tensor_test.cc | 49 RETURN_IF_ERROR(CreateTensor(env->context(), shape, descriptor, &tensor)); in TensorGenericTest() 50 RETURN_IF_ERROR(tensor.WriteData(env->queue(), tensor_cpu)); in TensorGenericTest() 51 RETURN_IF_ERROR(tensor.ReadData(env->queue(), &tensor_gpu)); in TensorGenericTest() 78 RETURN_IF_ERROR(CreateTensor(env->context(), shape, descriptor, &tensor)); in Tensor5DGenericTest() 79 RETURN_IF_ERROR(tensor.WriteData(env->queue(), tensor_cpu)); in Tensor5DGenericTest() 80 RETURN_IF_ERROR(tensor.ReadData(env->queue(), &tensor_gpu)); in Tensor5DGenericTest() 92 RETURN_IF_ERROR(TensorGenericTest( in TensorTests() 94 RETURN_IF_ERROR(TensorGenericTest( in TensorTests() 96 RETURN_IF_ERROR(TensorGenericTest( in TensorTests() 100 RETURN_IF_ERROR(TensorGenericTest( in TensorTests() [all …]
|
D | gl_interop.cc | 53 RETURN_IF_ERROR(TFLITE_GPU_CALL_EGL(g_eglCreateSync, &egl_sync, display, in CreateEglSyncFromClEvent() 216 RETURN_IF_ERROR(EglSync::NewFence(egl_display_, &sync)); in Start() 220 RETURN_IF_ERROR(CreateClEventFromEglSync(context_, sync, &inbound_event)); in Start() 224 RETURN_IF_ERROR(sync.ClientWait()); in Start() 228 RETURN_IF_ERROR(gl::GlActiveSyncWait()); in Start() 241 RETURN_IF_ERROR(gl_objects_.Release({}, &outbound_event)); in Finish() 276 RETURN_IF_ERROR( in Convert() 279 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glMapBufferRange, &ptr, in Convert() 282 RETURN_IF_ERROR( in Convert() 284 RETURN_IF_ERROR( in Convert() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/ |
D | cl_test.cc | 65 RETURN_IF_ERROR(CreateTensor(*creation_context.context, src_shape, in ExecuteGPUOperation() 67 RETURN_IF_ERROR(src[i].WriteData(creation_context.queue, src_cpu[i])); in ExecuteGPUOperation() 78 RETURN_IF_ERROR(CreateTensor(*creation_context.context, dst_shape, in ExecuteGPUOperation() 86 RETURN_IF_ERROR(cl_op.Compile(creation_context)); in ExecuteGPUOperation() 87 RETURN_IF_ERROR(cl_op.UpdateParams()); in ExecuteGPUOperation() 89 RETURN_IF_ERROR(cl_op.AddToQueue(creation_context.queue)); in ExecuteGPUOperation() 90 RETURN_IF_ERROR(creation_context.queue->WaitForCompletion()); in ExecuteGPUOperation() 95 RETURN_IF_ERROR(dst[i].ReadData(creation_context.queue, dst_cpu[i])); in ExecuteGPUOperation() 113 RETURN_IF_ERROR(CreateTensor(*creation_context.context, src_shape, in ExecuteGPUOperation() 115 RETURN_IF_ERROR(src[i].WriteData(creation_context.queue, src_cpu[i])); in ExecuteGPUOperation() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
D | converter_test.cc | 53 RETURN_IF_ERROR( in RunFromTensorTest() 58 RETURN_IF_ERROR(EglEnvironment::NewEglEnvironment(&env)); in RunFromTensorTest() 62 RETURN_IF_ERROR(CreateReadOnlyShaderStorageBuffer( in RunFromTensorTest() 66 RETURN_IF_ERROR(CreateReadWriteShaderStorageBuffer<float>( in RunFromTensorTest() 79 RETURN_IF_ERROR(builder->MakeConverter(input_def, output_def, &converter)); in RunFromTensorTest() 80 RETURN_IF_ERROR(converter->Convert(OpenGlBuffer{input_buffer.id()}, in RunFromTensorTest() 85 RETURN_IF_ERROR(output_buffer.Read( in RunFromTensorTest() 110 RETURN_IF_ERROR( in RunToTensorTest() 115 RETURN_IF_ERROR(EglEnvironment::NewEglEnvironment(&env)); in RunToTensorTest() 119 RETURN_IF_ERROR(CreateReadOnlyShaderStorageBuffer( in RunToTensorTest() [all …]
|
D | test_util.cc | 75 RETURN_IF_ERROR(EglEnvironment::NewEglEnvironment(&env)); in Invoke() 87 RETURN_IF_ERROR(CreatePHWC4BufferFromTensor(input, &buffer)); in Invoke() 88 RETURN_IF_ERROR( in Invoke() 96 RETURN_IF_ERROR(CreatePHWC4BufferFromTensorRef(output->tensor, &buffer)); in Invoke() 97 RETURN_IF_ERROR(objects.RegisterBuffer(output->id, std::move(buffer))); in Invoke() 102 RETURN_IF_ERROR(RequestGpuInfo(&gpu_info)); in Invoke() 104 RETURN_IF_ERROR(Compile(compile_options, graph_, /*tflite_graph_io=*/{}, in Invoke() 111 RETURN_IF_ERROR(compiled_model->NewRun( in Invoke() 113 RETURN_IF_ERROR(inference_context->Reset()); in Invoke() 116 RETURN_IF_ERROR(inference_context->Execute()); in Invoke() [all …]
|
D | converter.cc | 36 RETURN_IF_ERROR(GetSSBOSize(ssbo.id, &size_bytes)); in WrapSSBO() 60 RETURN_IF_ERROR(GlShader::CompileShader( in InitializeProgram() 152 RETURN_IF_ERROR(WrapSSBO(*input, &input_ssbo)); in Convert() 154 RETURN_IF_ERROR(WrapSSBO(*output, &output_ssbo)); in Convert() 165 RETURN_IF_ERROR(program_.SetParameter( in Convert() 169 RETURN_IF_ERROR(input_ssbo.BindToIndex(0)); in Convert() 170 RETURN_IF_ERROR(output_ssbo.BindToIndex(1)); in Convert() 247 RETURN_IF_ERROR(WrapSSBO(*input, &input_ssbo)); in Convert() 249 RETURN_IF_ERROR(WrapSSBO(*output, &output_ssbo)); in Convert() 260 RETURN_IF_ERROR(program_.SetParameter( in Convert() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/ |
D | internal_api_samples.cc | 138 RETURN_IF_ERROR(BuildFromFlatBuffer(*flatbuffer, op_resolver, &graph_cl)); in RunModelSampleWithInternalAPI() 152 RETURN_IF_ERROR(CreateEnvironment(&env)); in RunModelSampleWithInternalAPI() 160 RETURN_IF_ERROR(NewInferenceEnvironment(env_options, &inf_env, nullptr)); in RunModelSampleWithInternalAPI() 170 RETURN_IF_ERROR( in RunModelSampleWithInternalAPI() 180 RETURN_IF_ERROR(builder->SetInputObjectDef(i, obj_def)); in RunModelSampleWithInternalAPI() 183 RETURN_IF_ERROR(builder->SetOutputObjectDef(i, obj_def)); in RunModelSampleWithInternalAPI() 188 RETURN_IF_ERROR(builder->Build(&runner)); in RunModelSampleWithInternalAPI() 202 RETURN_IF_ERROR(runner->SetInputObject( in RunModelSampleWithInternalAPI() 210 RETURN_IF_ERROR(runner->SetOutputObject( in RunModelSampleWithInternalAPI() 214 RETURN_IF_ERROR(runner->Run()); in RunModelSampleWithInternalAPI() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | elementwise_test_util.cc | 43 RETURN_IF_ERROR(env->ExecuteGPUOperation( in AbsTest() 46 RETURN_IF_ERROR( in AbsTest() 70 RETURN_IF_ERROR(env->ExecuteGPUOperation( in CosTest() 73 RETURN_IF_ERROR(PointWiseNear( in CosTest() 96 RETURN_IF_ERROR(env->ExecuteGPUOperation( in CopyTest() 99 RETURN_IF_ERROR(PointWiseNear(src_tensor.data, dst_tensor.data, 0.0f)); in CopyTest() 121 RETURN_IF_ERROR(env->ExecuteGPUOperation( in EluTest() 124 RETURN_IF_ERROR(PointWiseNear( in EluTest() 149 RETURN_IF_ERROR(env->ExecuteGPUOperation( in ExpTest() 152 RETURN_IF_ERROR(PointWiseNear( in ExpTest() [all …]
|
D | padding_test_util.cc | 47 RETURN_IF_ERROR(env->ExecuteGPUOperation( in PaddingAppendWidthTest() 50 RETURN_IF_ERROR( in PaddingAppendWidthTest() 77 RETURN_IF_ERROR(env->ExecuteGPUOperation( in PaddingPrependWidthTest() 80 RETURN_IF_ERROR( in PaddingPrependWidthTest() 107 RETURN_IF_ERROR(env->ExecuteGPUOperation( in PaddingAppendHeightTest() 110 RETURN_IF_ERROR(PointWiseNear({0.0f, 1.0f, 2.0f, 3.0f, 0.0f, 0.0f}, in PaddingAppendHeightTest() 136 RETURN_IF_ERROR(env->ExecuteGPUOperation( in PaddingPrependHeightTest() 139 RETURN_IF_ERROR(PointWiseNear({0.0f, 0.0f, 0.0f, 1.0f, 2.0f, 3.0f}, in PaddingPrependHeightTest() 165 RETURN_IF_ERROR(env->ExecuteGPUOperation( in PaddingAppendChannelsTest() 168 RETURN_IF_ERROR(PointWiseNear({0.0f, 1.0f, 0.0f, 2.0f, 3.0f, 0.0f}, in PaddingAppendChannelsTest() [all …]
|
D | resize_test_util.cc | 48 RETURN_IF_ERROR(env->ExecuteGPUOperation( in ResizeBilinearAlignedTest() 51 RETURN_IF_ERROR(PointWiseNear( in ResizeBilinearAlignedTest() 80 RETURN_IF_ERROR(env->ExecuteGPUOperation( in ResizeBilinearNonAlignedTest() 83 RETURN_IF_ERROR( in ResizeBilinearNonAlignedTest() 113 RETURN_IF_ERROR(env->ExecuteGPUOperation( in ResizeBilinearWithoutHalfPixelTest() 116 RETURN_IF_ERROR(PointWiseNear({1.0f, 1.666666f, 2.0f, 2.333333f, 3.0f, in ResizeBilinearWithoutHalfPixelTest() 145 RETURN_IF_ERROR(env->ExecuteGPUOperation( in ResizeBilinearWithHalfPixelTest() 148 RETURN_IF_ERROR( in ResizeBilinearWithHalfPixelTest() 177 RETURN_IF_ERROR(env->ExecuteGPUOperation( in ResizeNearestTest() 180 RETURN_IF_ERROR( in ResizeNearestTest() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/ |
D | metal_spatial_tensor_test.mm | 57 RETURN_IF_ERROR(CreateTensor(device, shape, descriptor, &tensor)); 58 RETURN_IF_ERROR(tensor.WriteData(device, tensor_cpu)); 59 RETURN_IF_ERROR(tensor.ReadData(device, &tensor_gpu)); 88 RETURN_IF_ERROR(CreateTensor(device, shape, descriptor, &tensor)); 89 RETURN_IF_ERROR(tensor.WriteData(device, tensor_cpu)); 90 RETURN_IF_ERROR(tensor.ReadData(device, &tensor_gpu)); 102 RETURN_IF_ERROR(TensorGenericTest( 104 RETURN_IF_ERROR(TensorGenericTest( 106 RETURN_IF_ERROR(TensorGenericTest( 110 RETURN_IF_ERROR(TensorGenericTest( [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | gl_delegate.cc | 100 RETURN_IF_ERROR(FindObject(handle, &ref)); in CopyFromBufferHandle() 113 RETURN_IF_ERROR(FindObject(handle, &ref)); in CopyToBufferHandle() 124 RETURN_IF_ERROR(GetSSBOSize(ssbo, &bytes_size)); in BindBufferToTensor() 136 RETURN_IF_ERROR(BuildModel(context, delegate_params, &graph)); in Prepare() 145 if (!env_) RETURN_IF_ERROR(EglEnvironment::NewEglEnvironment(&env_)); in Prepare() 199 RETURN_IF_ERROR(CreateReadWriteShaderStorageBuffer<float>( in Prepare() 202 RETURN_IF_ERROR( in Prepare() 237 RETURN_IF_ERROR(CreateReadWriteShaderStorageBuffer<float>( in Prepare() 240 RETURN_IF_ERROR( in Prepare() 246 RETURN_IF_ERROR(ConverterBhwcToPhwc4::Create(&bhwc_to_phwc4_)); in Prepare() [all …]
|
D | delegate.cc | 130 RETURN_IF_ERROR(InitializeGraph(context, delegate_params, &graph, in Prepare() 137 RETURN_IF_ERROR( in Prepare() 140 RETURN_IF_ERROR(InitializeOpenGlApi(&graph, &builder)); in Prepare() 152 RETURN_IF_ERROR(InitializeGraph(context, delegate_params, &graph2, in Prepare() 155 RETURN_IF_ERROR(InitializeOpenGlApi( in Prepare() 166 RETURN_IF_ERROR( in Prepare() 173 RETURN_IF_ERROR(builder->SetOutputObjectDef(object_index, in Prepare() 217 RETURN_IF_ERROR( in Invoke() 220 RETURN_IF_ERROR(SetInputsAndOutputs(context)); in Invoke() 221 RETURN_IF_ERROR(runner_->Run()); in Invoke() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/ |
D | bhwc_to_phwc4_test.cc | 48 RETURN_IF_ERROR( in RunTest() 53 RETURN_IF_ERROR(EglEnvironment::NewEglEnvironment(&env)); in RunTest() 57 RETURN_IF_ERROR(CreateReadOnlyShaderStorageBuffer( in RunTest() 61 RETURN_IF_ERROR(CreateReadWriteShaderStorageBuffer<float>( in RunTest() 66 RETURN_IF_ERROR(ConverterBhwcToPhwc4::Create(&converter)); in RunTest() 67 RETURN_IF_ERROR( in RunTest() 71 RETURN_IF_ERROR(output_buffer.Read( in RunTest()
|
D | phwc4_to_bhwc_test.cc | 49 RETURN_IF_ERROR( in RunTest() 54 RETURN_IF_ERROR(EglEnvironment::NewEglEnvironment(&env)); in RunTest() 58 RETURN_IF_ERROR(CreateReadOnlyShaderStorageBuffer( in RunTest() 62 RETURN_IF_ERROR(CreateReadWriteShaderStorageBuffer<float>( in RunTest() 67 RETURN_IF_ERROR(ConverterPhwc4ToBhwc::Create(&converter)); in RunTest() 68 RETURN_IF_ERROR( in RunTest() 72 RETURN_IF_ERROR(output_buffer.Read( in RunTest()
|