Have a question? Connect with the community at the TensorFlow Forum Visit Forum

Summary.Image

public static final class Summary.Image

Protobuf type tensorflow.Summary.Image

Nested Classes

class Summary.Image.Builder Protobuf type tensorflow.Summary.Image

Constants

int COLORSPACE_FIELD_NUMBER
int ENCODED_IMAGE_STRING_FIELD_NUMBER
int HEIGHT_FIELD_NUMBER
int WIDTH_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
int
getColorspace ()
 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;
static Summary.Image
Summary.Image
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
getEncodedImageString ()
 Image data in encoded format.
int
getHeight ()
 Dimensions of the image.
int
final com.google.protobuf.UnknownFieldSet
int
getWidth ()
int32 width = 2;
int
final boolean
static Summary.Image.Builder
static Summary.Image.Builder
Summary.Image.Builder
static Summary.Image
parseDelimitedFrom (InputStream input)
static Summary.Image
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Image
parseFrom (ByteBuffer data)
static Summary.Image
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Image
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Image
parseFrom (com.google.protobuf.CodedInputStream input)
static Summary.Image
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Image
parseFrom (com.google.protobuf.ByteString data)
static Summary.Image
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Summary.Image
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
Summary.Image.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int COLORSPACE_FIELD_NUMBER

Constant Value: 3

public static final int ENCODED_IMAGE_STRING_FIELD_NUMBER

Constant Value: 4

public static final int HEIGHT_FIELD_NUMBER

Constant Value: 1

public static final int WIDTH_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public int getColorspace ()

 Valid colorspace values are
   1 - grayscale
   2 - grayscale + alpha
   3 - RGB
   4 - RGBA
   5 - DIGITAL_YUV
   6 - BGRA
 
int32 colorspace = 3;

public static Summary.Image getDefaultInstance ()

public Summary.Image getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.ByteString getEncodedImageString ()

 Image data in encoded format.  All image formats supported by
 image_codec::CoderUtil can be stored here.
 
bytes encoded_image_string = 4;

public int getHeight ()

 Dimensions of the image.
 
int32 height = 1;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int getWidth ()

int32 width = 2;

public int hashCode ()

public final boolean isInitialized ()

public static Summary.Image.Builder newBuilder ( Summary.Image prototype)

public static Summary.Image.Builder newBuilder ()

public Summary.Image.Builder newBuilderForType ()

public static Summary.Image parseDelimitedFrom (InputStream input)

Throws
IOException

public static Summary.Image parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static Summary.Image parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static Summary.Image parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static Summary.Image parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static Summary.Image parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static Summary.Image parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static Summary.Image parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static Summary.Image parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static Summary.Image parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public Summary.Image.Builder toBuilder ()