Program Listing for File tensor_list_set_item.h
↰ Return to documentation for file (include/converter/include/ops/tensor_list_set_item.h
)
#ifndef MINDSPORE_CORE_OPS_TENSOR_LIST_SET_ITEM_H_
#define MINDSPORE_CORE_OPS_TENSOR_LIST_SET_ITEM_H_
#include <memory>
#include "mindapi/base/types.h"
#include "ops/base_operator.h"
namespace mindspore {
namespace ops {
constexpr auto kNameTensorListSetItem = "TensorListSetItem";
class MIND_API TensorListSetItem : public BaseOperator {
public:
MIND_API_BASE_MEMBER(TensorListSetItem);
TensorListSetItem() : BaseOperator(kNameTensorListSetItem) {}
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_SET_ITEM_H_