@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.DecodeBmp extends Pointer
channels indicates the desired number of color channels for the
decoded image.
Accepted values are:
* 0: Use the number of channels in the BMP-encoded image.
* 3: output an RGB image.
* 4: output an RGBA image.
Arguments:
* scope: A Scope object
* contents: 0-D. The BMP-encoded image.
Returns:
* Output: 3-D with shape [height, width, channels]. RGB order| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.DecodeBmp.Attrs
Optional attribute setters for DecodeBmp
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
DecodeBmp(Pointer p)
Pointer cast constructor.
|
DecodeBmp(tensorflow.Scope scope,
tensorflow.Input contents) |
DecodeBmp(tensorflow.Scope scope,
tensorflow.Input contents,
tensorflow.DecodeBmp.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.DecodeBmp.Attrs |
Channels(long x) |
tensorflow.Output |
image() |
tensorflow.DecodeBmp |
image(tensorflow.Output image) |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.DecodeBmp |
operation(tensorflow.Operation operation) |
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 DecodeBmp(Pointer p)
Pointer.Pointer(Pointer).public DecodeBmp(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input contents)
public DecodeBmp(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input contents, @Const @ByRef tensorflow.DecodeBmp.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.DecodeBmp.Attrs Channels(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.DecodeBmp operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output image()
public tensorflow.DecodeBmp image(tensorflow.Output image)
Copyright © 2019. All rights reserved.