3#ifndef poplar_TensorCloneMethod_hpp
4#define poplar_TensorCloneMethod_hpp
39 DUPLICATE_BY_OUTER_DIMENSION,
Poplar classes and functions.
Definition: ArrayRef.hpp:14
std::string toString(RecoveryAction recoveryAction)
Convert the recovery action to a string.
TensorCloneMethod
Define behaviour when a Tensor is cloned.
Definition: TensorCloneMethod.hpp:13
@ PRESERVE_ORDER_UNLESS_ALIASES
Preserve the ordering of the original tensor unless it contains aliases.
@ GATHER_AND_PRESERVE_TILE_ORDER_AND_ALIASES
Gather elements of the underlying variables that are mapped to the same tile so they form one contigu...
@ PRESERVE_ORDER_AND_ALIASES
Preserve the ordering and aliasing within the original tensor reference.
@ CREATE_NEW_ORDER
Create a new tensor with natural ordering based on the dimensions of the cloned tensor (in the same w...
TensorCloneDuplicationMethod
Define behaviour when a Tensor is cloned and duplicated using Graph::cloneN.
Definition: TensorCloneMethod.hpp:38
@ DUPLICATE_BY_TILE_CONTIGUOUS_REGION
< The multiple clones are concatenated in their outermost dimension.