@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.Bitcast extends Pointer
input, this operation returns a tensor that has the same buffer
data as input with datatype type.
If the input datatype T is larger than the output datatype type then the
shape changes from [...] to [..., sizeof(T)/sizeof(type)].
If T is smaller than type, the operator requires that the rightmost
dimension be equal to sizeof(type)/sizeof(T). The shape then goes from
[..., sizeof(type)/sizeof(T)] to [...].
*NOTE*: Bitcast is implemented as a low-level cast, so machines with different
endian orderings will give different results.
Arguments:
* scope: A Scope object
Returns:
* Output: The output tensor.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Bitcast(Pointer p)
Pointer cast constructor.
|
Bitcast(tensorflow.Scope scope,
tensorflow.Input input,
int type) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.Bitcast |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.Bitcast |
output(tensorflow.Output output) |
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, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Bitcast(Pointer p)
Pointer.Pointer(Pointer).public Bitcast(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @Cast(value="tensorflow::DataType") int type)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByRef public tensorflow.Operation operation()
public tensorflow.Bitcast operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.Bitcast output(tensorflow.Output output)
Copyright © 2019. All rights reserved.