Poplar and PopLibs
|
Functions to populate arrays with linear sequences of values. More...
#include <poplar/Graph.hpp>
Go to the source code of this file.
Namespaces | |
namespace | poplin |
Linear algebra functions. | |
Functions | |
poplar::Tensor | poplin::linspace (poplar::Graph &graph, const poplar::Type &type, float left, float right, size_t count, const poplar::DebugContext &debugContext={}) |
Create a constant variable that contains values equally spaced in the specified closed range [left , right ]. More... | |
std::vector< poplar::Tensor > | poplin::meshgrid2d (poplar::Graph &graph, poplar::Tensor x, poplar::Tensor y) |
Create a coordinate grid for each axis by broadcasting the input tensors. More... | |
Functions to populate arrays with linear sequences of values.