MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / validate

Method validate

src/runtime/CL/functions/CLQLSTMLayer.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61} // namespace
62
63Status CLQLSTMLayer::TensorCopyKernel::validate(const ITensorInfo &src, const ITensorInfo &dst)
64{
65 ARM_COMPUTE_RETURN_ERROR_ON(src.tensor_shape().num_dimensions() > max_dimension_supported);
66 ARM_COMPUTE_RETURN_ERROR_ON(dst.tensor_shape().num_dimensions() > max_dimension_supported);
67 ARM_COMPUTE_ERROR_ON_MISMATCHING_DATA_TYPES(&src, &dst);
68 ARM_COMPUTE_RETURN_ERROR_ON(dst.tensor_shape().y() != src.tensor_shape().y());
69 return Status{};
70}
71
72void CLQLSTMLayer::TensorCopyKernel::configure(ICLTensor &src, ICLTensor &dst)
73{

Callers

nothing calls this directly

Calls 15

quantize_qsymm16Function · 0.85
lowestFunction · 0.85
powFunction · 0.85
quantize_qasymm8_signedFunction · 0.85
has_peephole_optMethod · 0.80
has_cifg_optMethod · 0.80
cell_to_input_weightsMethod · 0.80
cell_clipMethod · 0.80

Tested by

no test coverage detected