@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class StringNGrams extends Pointer
pad_width=-1
, then add max(ngram_widths)-1
elements.
Returns:
* Output
ngrams: The values tensor of the output ngrams ragged tensor.
* Output
ngrams_splits: The splits tensor of the output ngrams ragged tensor.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
StringNGrams(Pointer p)
Pointer cast constructor.
|
StringNGrams(Scope scope,
Input data,
Input data_splits,
BytePointer separator,
int[] ngram_widths,
BytePointer left_pad,
BytePointer right_pad,
long pad_width,
boolean preserve_short_sequences) |
StringNGrams(Scope scope,
Input data,
Input data_splits,
BytePointer separator,
IntBuffer ngram_widths,
BytePointer left_pad,
BytePointer right_pad,
long pad_width,
boolean preserve_short_sequences) |
StringNGrams(Scope scope,
Input data,
Input data_splits,
BytePointer separator,
IntPointer ngram_widths,
BytePointer left_pad,
BytePointer right_pad,
long pad_width,
boolean preserve_short_sequences) |
StringNGrams(Scope scope,
Input data,
Input data_splits,
String separator,
int[] ngram_widths,
String left_pad,
String right_pad,
long pad_width,
boolean preserve_short_sequences) |
StringNGrams(Scope scope,
Input data,
Input data_splits,
String separator,
IntBuffer ngram_widths,
String left_pad,
String right_pad,
long pad_width,
boolean preserve_short_sequences) |
StringNGrams(Scope scope,
Input data,
Input data_splits,
String separator,
IntPointer ngram_widths,
String left_pad,
String right_pad,
long pad_width,
boolean preserve_short_sequences) |
Modifier and Type | Method and Description |
---|---|
Output |
ngrams_splits() |
StringNGrams |
ngrams_splits(Output setter) |
Output |
ngrams() |
StringNGrams |
ngrams(Output setter) |
Operation |
operation() |
StringNGrams |
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 StringNGrams(Pointer p)
Pointer(Pointer)
.public StringNGrams(@Const @ByRef Scope scope, @ByVal Input data, @ByVal Input data_splits, @tensorflow.StringPiece BytePointer separator, @tensorflow.ArraySlice IntPointer ngram_widths, @tensorflow.StringPiece BytePointer left_pad, @tensorflow.StringPiece BytePointer right_pad, @Cast(value="tensorflow::int64") long pad_width, @Cast(value="bool") boolean preserve_short_sequences)
public StringNGrams(@Const @ByRef Scope scope, @ByVal Input data, @ByVal Input data_splits, @tensorflow.StringPiece String separator, @tensorflow.ArraySlice IntBuffer ngram_widths, @tensorflow.StringPiece String left_pad, @tensorflow.StringPiece String right_pad, @Cast(value="tensorflow::int64") long pad_width, @Cast(value="bool") boolean preserve_short_sequences)
public StringNGrams(@Const @ByRef Scope scope, @ByVal Input data, @ByVal Input data_splits, @tensorflow.StringPiece BytePointer separator, @tensorflow.ArraySlice int[] ngram_widths, @tensorflow.StringPiece BytePointer left_pad, @tensorflow.StringPiece BytePointer right_pad, @Cast(value="tensorflow::int64") long pad_width, @Cast(value="bool") boolean preserve_short_sequences)
public StringNGrams(@Const @ByRef Scope scope, @ByVal Input data, @ByVal Input data_splits, @tensorflow.StringPiece String separator, @tensorflow.ArraySlice IntPointer ngram_widths, @tensorflow.StringPiece String left_pad, @tensorflow.StringPiece String right_pad, @Cast(value="tensorflow::int64") long pad_width, @Cast(value="bool") boolean preserve_short_sequences)
public StringNGrams(@Const @ByRef Scope scope, @ByVal Input data, @ByVal Input data_splits, @tensorflow.StringPiece BytePointer separator, @tensorflow.ArraySlice IntBuffer ngram_widths, @tensorflow.StringPiece BytePointer left_pad, @tensorflow.StringPiece BytePointer right_pad, @Cast(value="tensorflow::int64") long pad_width, @Cast(value="bool") boolean preserve_short_sequences)
public StringNGrams(@Const @ByRef Scope scope, @ByVal Input data, @ByVal Input data_splits, @tensorflow.StringPiece String separator, @tensorflow.ArraySlice int[] ngram_widths, @tensorflow.StringPiece String left_pad, @tensorflow.StringPiece String right_pad, @Cast(value="tensorflow::int64") long pad_width, @Cast(value="bool") boolean preserve_short_sequences)
public StringNGrams operation(Operation setter)
public StringNGrams ngrams(Output setter)
public StringNGrams ngrams_splits(Output setter)
Copyright © 2022. All rights reserved.