fn
logspace_op
→TensorImplPtrint logspace_op(double start, double stop, int num, double base, Dtype dt, Device device, bool requires_grad)Python wrappers
Public Python APIs implemented by this engine symbol.Create a 1-D tensor of num values logarithmically spaced.
Math
Element equals where are the values
produced by linspace(start, stop, num).
Parameters
startdoubleLog-domain start.
stopdoubleLog-domain stop (inclusive).
numint64_tNumber of samples (must be ).
basedoubleLogarithm base.
dtDtypeElement dtype.
deviceDeviceTarget device.
requires_gradboolAttach a fresh autograd leaf when true.
Returns
TensorImplPtr1-D tensor of length num.