Program Listing for File tensor_list_get_item.h
↰ Return to documentation for file (include/converter/include/ops/tensor_list_get_item.h
)
#ifndef MINDSPORE_CORE_OPS_TENSOR_LIST_GET_ITEM_H_
#define MINDSPORE_CORE_OPS_TENSOR_LIST_GET_ITEM_H_
#include <memory>
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNameTensorListGetItem = "TensorListGetItem";
class MIND_API TensorListGetItem : public BaseOperator {
public:
MIND_API_BASE_MEMBER(TensorListGetItem);
TensorListGetItem() : BaseOperator(kNameTensorListGetItem) {}
void Init(const int64_t element_dtype);
void set_element_dtype(const int64_t element_dtype);
int64_t get_element_dtype() const;
};
} // namespace ops
} // namespace mindspore
#endif // MINDSPORE_CORE_OPS_TENSOR_LIST_GET_ITEM_H_