public static class tensorflow.StridedSlice.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
begin_mask_() |
tensorflow.StridedSlice.Attrs |
begin_mask_(long begin_mask_) |
tensorflow.StridedSlice.Attrs |
BeginMask(long x)
a bitmask where a bit i being 1 means to ignore the begin
value and instead use the largest interval possible.
|
long |
ellipsis_mask_() |
tensorflow.StridedSlice.Attrs |
ellipsis_mask_(long ellipsis_mask_) |
tensorflow.StridedSlice.Attrs |
EllipsisMask(long x)
a bitmask where bit
i being 1 means the ith
position is actually an ellipsis. |
long |
end_mask_() |
tensorflow.StridedSlice.Attrs |
end_mask_(long end_mask_) |
tensorflow.StridedSlice.Attrs |
EndMask(long x)
analogous to
begin_mask
Defaults to 0 |
long |
new_axis_mask_() |
tensorflow.StridedSlice.Attrs |
new_axis_mask_(long new_axis_mask_) |
tensorflow.StridedSlice.Attrs |
NewAxisMask(long x)
a bitmask where bit
i being 1 means the ith
specification creates a new shape 1 dimension. |
tensorflow.StridedSlice.Attrs |
position(long position) |
long |
shrink_axis_mask_() |
tensorflow.StridedSlice.Attrs |
shrink_axis_mask_(long shrink_axis_mask_) |
tensorflow.StridedSlice.Attrs |
ShrinkAxisMask(long x)
a bitmask where bit
i implies that the ith
specification should shrink the dimensionality. |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Attrs()
public Attrs(long size)
Pointer.position(long).public Attrs(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.StridedSlice.Attrs position(long position)
@ByVal public tensorflow.StridedSlice.Attrs BeginMask(@Cast(value="tensorflow::int64") long x)
[0, n-1) if stride[i] > 0 or
[-1, n-1] if stride[i] < 0
Defaults to 0@ByVal public tensorflow.StridedSlice.Attrs EndMask(@Cast(value="tensorflow::int64") long x)
begin_mask
Defaults to 0@ByVal public tensorflow.StridedSlice.Attrs EllipsisMask(@Cast(value="tensorflow::int64") long x)
i being 1 means the ith
position is actually an ellipsis. One bit at most can be 1.
If ellipsis_mask == 0, then an implicit ellipsis mask of 1 << (m+1)
is provided. This means that foo[3:5] == foo[3:5, ...]. An ellipsis
implicitly creates as many range specifications as necessary to fully
specify the sliced range for every dimension. For example for a 4-dimensional
tensor foo the slice foo[2, ..., 5:8] implies foo[2, :, :, 5:8].
Defaults to 0@ByVal public tensorflow.StridedSlice.Attrs NewAxisMask(@Cast(value="tensorflow::int64") long x)
i being 1 means the ith
specification creates a new shape 1 dimension. For example
foo[:4, tf.newaxis, :2] would produce a shape (4, 1, 2) tensor.
Defaults to 0@ByVal public tensorflow.StridedSlice.Attrs ShrinkAxisMask(@Cast(value="tensorflow::int64") long x)
i implies that the ith
specification should shrink the dimensionality. begin and end
must imply a slice of size 1 in the dimension. For example in
python one might do foo[:, 3, :] which would result in
shrink_axis_mask being 2.
Defaults to 0public tensorflow.StridedSlice.Attrs begin_mask_(long begin_mask_)
public tensorflow.StridedSlice.Attrs end_mask_(long end_mask_)
public tensorflow.StridedSlice.Attrs ellipsis_mask_(long ellipsis_mask_)
public tensorflow.StridedSlice.Attrs new_axis_mask_(long new_axis_mask_)
public tensorflow.StridedSlice.Attrs shrink_axis_mask_(long shrink_axis_mask_)
Copyright © 2019. All rights reserved.