public static class tensorflow.FixedUnigramCandidateSampler.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.
|
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.FixedUnigramCandidateSampler.Attrs position(long position)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs VocabFile(@tensorflow.StringPiece BytePointer x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs VocabFile(@tensorflow.StringPiece String x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs Distortion(float x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs NumReservedIds(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs NumShards(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs Shard(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs Unigrams(@tensorflow.ArraySlice FloatPointer x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs Unigrams(@tensorflow.ArraySlice FloatBuffer x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs Unigrams(@tensorflow.ArraySlice float... x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs Seed(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.FixedUnigramCandidateSampler.Attrs Seed2(@Cast(value="tensorflow::int64") long x)
@tensorflow.StringPiece public BytePointer vocab_file_()
public tensorflow.FixedUnigramCandidateSampler.Attrs vocab_file_(BytePointer vocab_file_)
public float distortion_()
public tensorflow.FixedUnigramCandidateSampler.Attrs distortion_(float distortion_)
public tensorflow.FixedUnigramCandidateSampler.Attrs num_reserved_ids_(long num_reserved_ids_)
public tensorflow.FixedUnigramCandidateSampler.Attrs num_shards_(long num_shards_)
public tensorflow.FixedUnigramCandidateSampler.Attrs shard_(long shard_)
@tensorflow.ArraySlice public FloatPointer unigrams_()
public tensorflow.FixedUnigramCandidateSampler.Attrs unigrams_(FloatPointer unigrams_)
public tensorflow.FixedUnigramCandidateSampler.Attrs seed_(long seed_)
public tensorflow.FixedUnigramCandidateSampler.Attrs seed2_(long seed2_)
Copyright © 2019. All rights reserved.