DebugContext gathers the common external parameters of the context of an operation.
Definition: DebugContext.hpp:221
Common functions, such as elementwise and reductions.
Definition: AllTrue.hpp:15
IndicesAndTensor createHostSliceableTensor(poplar::Graph &graph, const poplar::Type &type, const std::vector< size_t > &shape, const bool isRead, const poplar::DebugContext &debugContext={})
Create a Tensor that is well laid out for a host exchange copy and at the same time create the index ...
poplar::Tensor createHostTransferableTensor(poplar::Graph &graph, const poplar::Type &type, const std::vector< size_t > &shape, bool isRead, const poplar::DebugContext &debugContext={})
Create a tensor that is well laid out for a host exchange copy.