7. Deprecated

The following features are deprecated and may be removed in future.

page deprecated

Member poplar::copyDeviceHalfToDouble  (const Target &target, const void *src, double *dst, std::size_t numElements)

Use the poplar::convertFromDeviceType method appropriate for the data type.

Member poplar::copyDeviceHalfToFloat  (const Target &target, const void *src, float *dst, std::size_t numElements)

Use the poplar::convertFromDeviceType method appropriate for the data type.

Member poplar::copyDoubleToDeviceHalf  (const Target &target, const double *src, void *dst, std::size_t numElements)

Use the poplar::convertToDeviceType method appropriate for the data type.

Member poplar::copyFloatToDeviceHalf  (const Target &target, const float *src, void *dst, std::size_t numElements)

Use the poplar::convertToDeviceType method appropriate for the data type.

Member poplar::Device::getAttributes  () const

use Device::getAttribute

Member poplar::Engine::connectStream  (StringRef handle, void *begin, void *end)

Use Engine::connectStream(StringRef,gccs::ArrayRef<T>) instead.

Member poplar::Engine::connectStream  (StringRef handle, void *p)

Use Engine::connectStream(StringRef,gccs::ArrayRef<T>) instead.

Member poplar::Engine::copyFromRemoteBuffer  (StringRef handle, void *w, uint64_t repeatIndex, unsigned replicationIndex=0)

Use Engine::copyFromRemoteBuffer(StringRef,gccs::ArrayRef<T>,unsigned,unsigned) instead.

Member poplar::Engine::copyToRemoteBuffer  (void *w, StringRef handle, uint64_t repeatIndex, unsigned replicationIndex=0)

Use Engine::copyToRemoteBuffer(StringRef,gccs::ArrayRef<T>,unsigned,unsigned) instead.

Member poplar::Engine::readTensor  (StringRef handle, void *buf, void *bufEnd)

For all types except Half and Quarter use Engine::readTensor(StringRef,gccs::ArrayRef<T>) instead.

Member poplar::Engine::reportIntervals  (std::ostream &outputStream)

Use libpva instead.

Member poplar::Engine::resetExecutionProfile  ()

Use the PVA library instead.

Member poplar::Engine::writeTensor  (StringRef handle, const void *buf, const void *bufEnd)

For all types except Half and Quarter use Engine::writeTensor(StringRef,gccs::ArrayRef<T>) instead.

Member poplar::Target::createIPUTarget  (unsigned numIPUs, StringRef system, const core::TargetOptions &opts)

Use createIPUTarget(unsigned numIPUs, StringRef system, const OptionFlags &opts) instead.

Member poplar::Target::createIPUTarget  (unsigned numIPUs, unsigned tilesPerIPU, StringRef system, const core::TargetOptions &opts)

Use createIPUTarget(unsigned numIPUs, unsigned tilesPerIPU, StringRef system, const OptionFlags &opts) instead.

Class poplin::matmul::PlanningCache

Use poplin::PlanningCache instead.

Member poplin::preplanConvolutions  (const std::set< ConvPlanParams > &convs, PlanningCache &cache)

Use preplan() instead.

Member poplin::preplanConvolutions  (poplar::Graph &graph, const std::set< ConvPlanParams > &convs, PlanningCache &cache)

Use preplan() instead.

Member poplin::preplanMatMuls  (const std::set< MatMulPlanParams > &matmuls, matmul::PlanningCache &cache)

Use preplan() instead.

Member popnn::gru::auGruBwd  (poplar::Graph &graph, const GruParams &params, poplar::program::Sequence &prog, const poplar::Tensor &fwdOutputInit, const poplar::Tensor &fwdIntermediatesSeq, const GruWeights &weights, const poplar::Tensor &fwdInputSeq, const poplar::Tensor &realTimeSteps, const poplar::Tensor &fwdOutput, const poplar::Tensor &gradLayerNext, poplar::Tensor *inputGrad, poplar::Tensor *bwdIntermediates, const poplar::Tensor &attentions, poplar::Tensor *attentionsGrad, const poplar::DebugContext &debugContext, const poplar::OptionFlags &options_, poplin::PlanningCache *planningCache)

Use previously defined auGruBwd() instead.

Member popnn::gru::auGruBwdWithWU  (poplar::Graph &graph, const GruParams &params, poplar::program::Sequence &prog, const poplar::Tensor &fwdOutputInit, const poplar::Tensor &fwdIntermediates, const GruWeights &weights, const poplar::Tensor &input, const poplar::Tensor &realTimeSteps, const poplar::Tensor &output, const poplar::Tensor &outputGrad, poplar::Tensor *inputGrad, GruWeights &weightsGrad, const poplar::Tensor &attentions, poplar::Tensor *attentionsGrad, const poplar::DebugContext &debugContext, const poplar::OptionFlags &options_, poplin::PlanningCache *planningCache)

Use previously defined auGruBwdWithWU() instead.

Member popnn::gru::auGruFwd  (poplar::Graph &graph, const GruParams &params, const poplar::Tensor &stateInit, const poplar::Tensor &in, const poplar::Tensor &realTimeSteps, const GruWeights &weights, poplar::Tensor *intermediates, const poplar::Tensor &attScores, poplar::program::Sequence &fwdProg, const poplar::DebugContext &debugContext={}, const poplar::OptionFlags &options={}, poplin::PlanningCache *planningCache=nullptr)

Use previously defined auGruFwd() instead.

Member popnn::gru::gruBwd  (poplar::Graph &graph, const GruParams &params, poplar::program::Sequence &prog, const poplar::Tensor &fwdOutputInit, const poplar::Tensor &fwdIntermediatesSeq, const GruWeights &weights, const poplar::Tensor &fwdInputSeq, const poplar::Tensor &realTimeSteps, const poplar::Tensor &fwdOutput, const poplar::Tensor &gradLayerNext, poplar::Tensor *inputGrad, poplar::Tensor *bwdIntermediates, const poplar::DebugContext &debugContext, const poplar::OptionFlags &options_, poplin::PlanningCache *planningCache)

Use previously defined popnn::gruBwd() instead.

Member popnn::gru::gruBwdWithWU  (poplar::Graph &graph, const GruParams &params, poplar::program::Sequence &prog, const poplar::Tensor &fwdOutputInit, const poplar::Tensor &fwdIntermediates, const GruWeights &weights, const poplar::Tensor &input, const poplar::Tensor &realTimeSteps, const poplar::Tensor &output, const poplar::Tensor &outputGrad, poplar::Tensor *inputGrad, GruWeights &weightsGrad, const poplar::DebugContext &debugContext, const poplar::OptionFlags &options_, poplin::PlanningCache *planningCache)

Use previously defined gruBwdWithWU() instead.

Member popnn::gru::gruFwd  (poplar::Graph &graph, const GruParams &params, const poplar::Tensor &stateInit, const poplar::Tensor &in, const poplar::Tensor &realTimeSteps, const GruWeights &weights, poplar::Tensor *intermediates, poplar::program::Sequence &fwdProg, const poplar::DebugContext &debugContext={}, const poplar::OptionFlags &options={}, poplin::PlanningCache *planningCache=nullptr)

Use previously defined gruFwd() instead.

Member popnn::gru::GruParams::batchSize

Use rnn::RnnParams.batchSize instead.

Member popnn::gru::GruParams::dataType

Use rnn::RnnParams.dataType instead.

Member popnn::gru::GruParams::layerSizes

Use rnn::RnnParams.layerSizes instead.

Member popnn::gru::GruParams::timeSteps

Use rnn::RnnParams.maxTimeSteps instead.

Member popnn::lstm::lstmBwd  (poplar::Graph &graph, const LstmParams &params, poplar::program::Sequence &prog, const LstmState &fwdStateInit, const poplar::Tensor &fwdIntermediates, const LstmWeights &weights, const poplar::Tensor &input, const poplar::Tensor &output, const poplar::Tensor &outputGrad, const poplar::Tensor *lastCellStateGrad, poplar::Tensor *inputGrad, poplar::Tensor *bwdIntermediates, const poplar::DebugContext &debugContext={}, const poplar::OptionFlags &options={}, poplin::PlanningCache *planningCache=nullptr)

deprecated Use previously defined popnn::lstmBwd() instead.

Member popnn::lstm::lstmBwdWithWU  (poplar::Graph &graph, const LstmParams &params, poplar::program::Sequence &prog, const LstmState &fwdStateInit, const poplar::Tensor &fwdIntermediates, const LstmWeights &weights, const poplar::Tensor &input, const poplar::Tensor &output, const poplar::Tensor &outputGrad, const poplar::Tensor *lastCellStateGrad, poplar::Tensor *inputGrad, LstmWeights &weightsGrad, const poplar::DebugContext &debugContext={}, const poplar::OptionFlags &options={}, poplin::PlanningCache *planningCache=nullptr)

deprecated Use previously defined popnn::lstmBwdWithWU() instead.

Member popnn::lstm::LstmParams::batchSize

Use rnn::RnnParams.batchSize instead.

Member popnn::lstm::LstmParams::dataType

Use rnn::RnnParams.dataType instead.

Member popnn::lstm::LstmParams::layerSizes

Use rnn::RnnParams.layerSizes instead.

Member popnn::lstm::LstmParams::timeSteps

Use rnn::RnnParams.maxTimeSteps instead.

Member popnn::rnn::RnnParams::timeSteps

Use RnnParams.maxTimeSteps instead.

Member popops::histogram  (poplar::Graph &graph, const poplar::Tensor &input, const poplar::Tensor &levels, bool absoluteOfInput, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={}, const poplar::OptionFlags &options={})

use useFloatArithmeticWithUnsignedIntOutput instead.

Member popops::rearrange::addTransposeVertices  (poplar::Graph &graph, const poplar::ComputeSet &cs, const poplar::Type &dType, unsigned rows, unsigned cols, const poplar::Graph::TileToTensorMapping &mapping, std::function< std::pair< const poplar::Tensor, const poplar::Tensor >(size_t)> getInOut, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::rearrange::canUseFastTranspose  (const poplar::Target &target, const poplar::Type &type, unsigned numRows, unsigned numColumns, unsigned numTranspositions)

This function is deprecated

Member popops::rearrange::getMinimumRegroupGrainSize  (const poplar::Type &type)

This function is deprecated

Member popops::rearrange::partialTranspose  (poplar::Graph &graph, const poplar::Tensor &in, const poplar::ComputeSet &cs, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::rearrange::regroupIfBeneficial  (poplar::Graph &graph, const poplar::Tensor &in, const poplar::Tensor &ref, std::vector< poplar::program::Copy > &copies, poplar::ComputeSet transposeCS, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::rearrange::regroupIfBeneficial  (poplar::Graph &graph, const poplar::Tensor &in, std::size_t preferredGrouping, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::rearrange::regroupIfBeneficial  (poplar::Graph &graph, const poplar::Tensor &in, const poplar::Tensor &ref, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::rearrange::regroupIfPossible  (poplar::Graph &graph, const poplar::Tensor &t, poplar::program::Sequence &prog, const poputil::GroupingInfo &to, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::rearrange::regroupTensor  (poplar::Graph &graph, const poplar::Tensor &t, poplar::program::Sequence &copies, const poplar::ComputeSet &transposeCS, const poputil::GroupingInfo &from, const poputil::GroupingInfo &to, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::rearrange::regroupTensor  (poplar::Graph &graph, const poplar::Tensor &t, std::vector< poplar::program::Copy > &copies, const poplar::ComputeSet &transposeCS, const poputil::GroupingInfo &from, const poputil::GroupingInfo &to, const poplar::DebugContext &debugContext={})

This function is deprecated

Member popops::reduce  (poplar::Graph &graph, const poplar::Tensor &in, const poplar::Type &outType, const std::vector< std::size_t > &dims, ReduceParams params, std::vector< poplar::ComputeSet > &css, const poplar::DebugContext &debugContext={}, const poplar::OptionFlags &options={})

The reduce overloads that expect a vector of compute sets are deprecated. Please use the reduceMany() function instead.

Member popops::sort  (poplar::Graph &graph, const poplar::Tensor &t, unsigned dim, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})

deprecated Use popops::topK() instead.

Member popops::sortInPlace  (poplar::Graph &graph, const poplar::Tensor &t, unsigned dim, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})

deprecated Use popops::topK() instead.

Member popops::sortKeyValue  (poplar::Graph &graph, const poplar::Tensor &k, const poplar::Tensor &v, unsigned dim, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})

deprecated Use popops::topKKeyValue() instead.

Member popops::sortKeyValueInPlace  (poplar::Graph &graph, const poplar::Tensor &k, const poplar::Tensor &v, unsigned dim, poplar::program::Sequence &prog, const poplar::DebugContext &debugContext={})

deprecated Use popops::topKKeyValue() instead.

File Rearrange.hpp

This file is deprecated.