@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class LinSpace extends Pointer
num
evenly-spaced values are generated beginning at start
.
If num > 1
, the values in the sequence increase by stop - start / num - 1
,
so that the last one is exactly stop
.
For example:
tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0 11.0 12.0]
Arguments:
* scope: A Scope object
* start: 0-D tensor. First entry in the range.
* stop: 0-D tensor. Last entry in the range.
* num: 0-D tensor. Number of values to generate.
Returns:
* Output
: 1-D. The generated values.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LinSpace(Pointer p)
Pointer cast constructor.
|
LinSpace(Scope scope,
Input start,
Input stop,
Input num) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
LinSpace |
operation(Operation setter) |
Output |
output() |
LinSpace |
output(Output setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public LinSpace(Pointer p)
Pointer(Pointer)
.public Node node()
Copyright © 2022. All rights reserved.