@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class 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 orderModifier and Type | Class and Description |
---|---|
static class |
DecodeBmp.Attrs
Optional attribute setters for DecodeBmp
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DecodeBmp(Pointer p)
Pointer cast constructor.
|
DecodeBmp(Scope scope,
Input contents) |
DecodeBmp(Scope scope,
Input contents,
DecodeBmp.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static DecodeBmp.Attrs |
Channels(long x) |
Output |
image() |
DecodeBmp |
image(Output setter) |
Node |
node() |
Operation |
operation() |
DecodeBmp |
operation(Operation 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 DecodeBmp(Pointer p)
Pointer(Pointer)
.public Node node()
@ByVal public static DecodeBmp.Attrs Channels(@Cast(value="tensorflow::int64") long x)
Copyright © 2022. All rights reserved.