|
| BackPropTensor * | getDisposableBackPropTensor (const DisposableTensorIndex &index) |
| |
| void | setDisposableBackPropTensor (const DisposableTensorIndex &index, std::unique_ptr< BackPropTensor > tensor) |
| |
| const std::unordered_map< DisposableTensorIndex, std::unique_ptr< BackPropTensor > > & | disposable_back_prop_tensors () |
| |
| std::shared_ptr< LayerScopeTensor > | getLayerScopeTensor (const LayerScopeTensorIndex &index) |
| |
| void | setLayerScopeTensor (const LayerScopeTensorIndex &index, std::shared_ptr< LayerScopeTensor > &tensor) |
| |
| const std::unordered_map< LayerScopeTensorIndex, std::shared_ptr< LayerScopeTensor > > & | layerscope_tensors () |
| |
| ITensor * | getITensor (const ir::OperandIndex &index) override |
| | Returns pointer of ITensor among native and migrant tensors.
|
| |
| ITensor * | getNativeITensor (const ir::OperandIndex &index) override |
| | Returns pointer of ITensor among native tensors.
|
| |
| ITensor * | getBackPropITensor (const ir::OperandIndex &index) override |
| | Returns pointer of ITensor for back propatation.
|
| |
| ITensor * | getGradientITensor (const ir::OperandIndex &index) override |
| | Returns pointer of ITensor for gradient.
|
| |
| void | iterateTrainableTensors (const std::function< void(const ir::OperandIndex &, const train::ITrainableTensor *)> &fn) const override |
| | Iterate ITrainableTensors with fn.
|
| |
| IPortableTensor * | getPortableTensor (const ir::OperandIndex &index) |
| |
| Tensor * | getNonConstTensor (const ir::OperandIndex &index) |
| |
| TrainableTensor * | getTrainableTensor (const ir::OperandIndex &index) |
| |
| BackPropTensor * | getBackPropTensor (const ir::OperandIndex &index) |
| |
| GradientTensor * | getGradientTensor (const ir::OperandIndex &index) |
| |
| TrainingTensors | getTrainingTensors (const ir::OperandIndex &index) |
| |
| bool | setMigrantTensor (const ir::OperandIndex &index, IPortableTensor *tensor) override |
| | Set the Migrant Tensor which are from other backends.
|
| |
| void | setNonConstTensor (const ir::OperandIndex &index, std::unique_ptr< Tensor > tensor) |
| |
| void | setTrainableTensor (const ir::OperandIndex &index, std::unique_ptr< TrainableTensor > tensor) |
| |
| void | setBackPropTensor (const ir::OperandIndex &index, std::unique_ptr< BackPropTensor > tensor) |
| |
| void | setGradientTensor (const ir::OperandIndex &index, std::unique_ptr< GradientTensor > tensor) |
| |
| const ir::OperandIndexMap< std::unique_ptr< TrainableTensor > > & | trainable_tensors () |
| |
| const ir::OperandIndexMap< std::unique_ptr< Tensor > > & | nonconst_tensors () |
| |
| const ir::OperandIndexMap< std::unique_ptr< Tensor > > & | back_prop_tensors () |
| |
| const ir::OperandIndexMap< std::unique_ptr< GradientTensor > > & | gradient_tensors () |
| |
| virtual | ~ITensorRegistry ()=default |
| | Deconstruct itself.
|
| |
Definition at line 30 of file TensorRegistry.h.