void run(const Window &window, cl::CommandQueue &queue) override;
private:
- const ICLTensor *_lookups; /** Lookups tensor */
- const ICLTensor *_keys; /** Keys tensor */
- const ICLTensor *_input; /** Source tensor */
- ICLTensor *_output; /** Destination tensor */
- ICLTensor *_hits; /** Hits tensor */
+ const ICLTensor *_lookups{nullptr}; /** Lookups tensor */
+ const ICLTensor *_keys{nullptr}; /** Keys tensor */
+ const ICLTensor *_input{nullptr}; /** Source tensor */
+ ICLTensor *_output{nullptr}; /** Destination tensor */
+ ICLTensor *_hits{nullptr}; /** Hits tensor */
std::unique_ptr<CLTensor> _lookup_indices{nullptr}; /** Lookup indices tensor */
};
} // namespace arm_compute
void run(const Window &window, cl::CommandQueue &queue) override;
private:
- const ICLTensor *_input; /**< Source tensor */
- const ICLTensor *_block_size; /**< Block size tensor */
- const ICLTensor *_padding_size; /**< Padding size tensor */
- ICLTensor *_output; /**< Destination tensor */
+ const ICLTensor *_input{nullptr}; /**< Source tensor */
+ const ICLTensor *_block_size{nullptr}; /**< Block size tensor */
+ const ICLTensor *_padding_size{nullptr}; /**< Padding size tensor */
+ ICLTensor *_output{nullptr}; /**< Destination tensor */
};
} // namespace arm_compute
void run() override;
private:
- ICLTensor *_input;
- ICLTensor *_output;
- std::vector<uint32_t> _axis;
- ArgOperation _arg_op;
+ ICLTensor *_input{nullptr};
+ ICLTensor *_output{nullptr};
+ std::vector<uint32_t> _axis{};
+ ArgOperation _arg_op{ArgOperation::MAX};
std::unique_ptr<CLTensor[]> _interm_tensors{nullptr};
std::unique_ptr<CLArgOperationKernel[]> _argop_kernels{nullptr};
- size_t _num_of_kernels;
+ size_t _num_of_kernels{0};
};
}
#endif /*__ARM_COMPUTE_CLARGOPERATION_H__ */
{
public:
GenericGather(void)
- : _input(nullptr), _output(nullptr), _cl_permuted{}, _cl_permute{}, _cl_gather{}
{
// DO NOTHING
}
void run(void) override;
private:
- arm_compute::ITensor *_input;
- arm_compute::ITensor *_indices;
- arm_compute::ITensor *_output;
- int _axis;
+ arm_compute::ITensor *_input{nullptr};
+ arm_compute::ITensor *_indices{nullptr};
+ arm_compute::ITensor *_output{nullptr};
+ int _axis{0};
arm_compute::CLTensor _cl_permuted;
private:
class SimpleArgOperation : public arm_compute::IFunction
{
public:
- SimpleArgOperation(void) : _input(nullptr), _output(nullptr), _axis(), _input_rank(0)
+ SimpleArgOperation(void)
{
// DO NOTHING
}
void run() override;
private:
- arm_compute::ITensor *_input;
- arm_compute::ITensor *_output;
- std::vector<uint32_t> _axis;
- int _input_rank;
- arm_compute::ArgOperation _op_type;
+ arm_compute::ITensor *_input{nullptr};
+ arm_compute::ITensor *_output{nullptr};
+ std::vector<uint32_t> _axis{};
+ int _input_rank{0};
+ arm_compute::ArgOperation _op_type{ArgOperation::MAX};
};
} // namespace misc
} // namespace
CLHashtableLookupKernel::CLHashtableLookupKernel()
- : _lookups(nullptr), _input(nullptr), _output(nullptr)
{
+ // DO NOTHING
}
Status CLHashtableLookupKernel::validate(const ITensorInfo *lookups, const ITensorInfo *keys,
} // namespace
-CLSpaceToBatchNDKernel::CLSpaceToBatchNDKernel() : _input(nullptr), _output(nullptr) {}
+CLSpaceToBatchNDKernel::CLSpaceToBatchNDKernel()
+{
+ // DO NOTHING
+}
void CLSpaceToBatchNDKernel::configure(const ICLTensor *input, const ICLTensor *block_size,
const ICLTensor *padding_size, ICLTensor *output)
{
CLArgOperation::CLArgOperation()
- : _input(nullptr), _output(nullptr), _axis(), _interm_tensors(), _argop_kernels(),
- _num_of_kernels()
{
+ // DO NOTHING
}
void CLArgOperation::configure(ICLTensor *input, ICLTensor *output, std::vector<uint32_t> axis,