@Namespace(value="tensorflow") @NoOffset public static class tensorflow.EnvWrapper extends tensorflow.Env
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
EnvWrapper(Pointer p)
Pointer cast constructor.
|
EnvWrapper(tensorflow.Env t)
Initializes an EnvWrapper that delegates all calls to *t
|
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
FormatLibraryFileName(BytePointer name,
BytePointer version) |
String |
FormatLibraryFileName(String name,
String version) |
tensorflow.Status |
GetFileSystemForFile(BytePointer fname,
PointerPointer result)
\brief Returns the FileSystem object to handle operations on the file
specified by 'fname'.
|
tensorflow.Status |
GetFileSystemForFile(BytePointer fname,
tensorflow.FileSystem result) |
tensorflow.Status |
GetFileSystemForFile(String fname,
tensorflow.FileSystem result) |
tensorflow.Status |
GetRegisteredFileSystemSchemes(tensorflow.StringVector schemes)
\brief Returns the file system schemes registered for this Env.
|
tensorflow.Status |
GetSymbolFromLibrary(Pointer handle,
BytePointer symbol_name,
Pointer symbol) |
tensorflow.Status |
GetSymbolFromLibrary(Pointer handle,
BytePointer symbol_name,
PointerPointer symbol) |
tensorflow.Status |
GetSymbolFromLibrary(Pointer handle,
String symbol_name,
Pointer symbol) |
tensorflow.Status |
LoadLibrary(BytePointer library_filename,
Pointer handle) |
tensorflow.Status |
LoadLibrary(BytePointer library_filename,
PointerPointer handle) |
tensorflow.Status |
LoadLibrary(String library_filename,
Pointer handle) |
boolean |
MatchPath(BytePointer path,
BytePointer pattern)
\brief Returns true if the path matches the given pattern.
|
boolean |
MatchPath(String path,
String pattern) |
long |
NowMicros()
\brief Returns the number of micro-seconds since the Unix epoch.
|
tensorflow.Status |
RegisterFileSystem(BytePointer scheme,
Pointer factory)
\brief Register a file system for a scheme.
|
tensorflow.Status |
RegisterFileSystem(String scheme,
Pointer factory) |
void |
SchedClosure(tensorflow.Fn closure) |
void |
SchedClosureAfter(long micros,
tensorflow.Fn closure) |
void |
SleepForMicroseconds(long micros)
Sleeps/delays the thread for the prescribed number of micro-seconds.
|
tensorflow.Thread |
StartThread(tensorflow.ThreadOptions thread_options,
BytePointer name,
tensorflow.Fn fn)
\brief Returns a new thread that is running fn() and is identified
(for debugging/performance-analysis) by "name".
|
tensorflow.Thread |
StartThread(tensorflow.ThreadOptions thread_options,
String name,
tensorflow.Fn fn) |
tensorflow.Env |
target()
Returns the target to which this Env forwards all calls
|
CopyFile, CopyFile, CreateDir, CreateDir, CreateUniqueFileName, CreateUniqueFileName, Default, DeleteDir, DeleteDir, DeleteFile, DeleteFile, DeleteRecursively, DeleteRecursively, DeleteRecursively, DeleteRecursively, DeleteRecursively, DeleteRecursively, FileExists, FileExists, FilesExist, FlushFileSystemCaches, GetChildren, GetChildren, GetExecutablePath, GetFileSize, GetFileSize, GetFileSize, GetFileSize, GetFileSize, GetFileSize, GetLocalTempDirectories, GetMatchingPaths, GetMatchingPaths, IsDirectory, IsDirectory, LocalTempFilename, NewAppendableFile, NewAppendableFile, NewRandomAccessFile, NewRandomAccessFile, NewReadOnlyMemoryRegionFromFile, NewReadOnlyMemoryRegionFromFile, NewWritableFile, NewWritableFile, NowNanos, NowSeconds, RecursivelyCreateDir, RecursivelyCreateDir, RenameFile, RenameFile, Stat, Stataddress, 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 EnvWrapper(Pointer p)
Pointer.Pointer(Pointer).public EnvWrapper(tensorflow.Env t)
public tensorflow.Env target()
@ByVal public tensorflow.Status GetFileSystemForFile(@StdString BytePointer fname, @Cast(value="tensorflow::FileSystem**") PointerPointer result)
tensorflow.EnvGetFileSystemForFile in class tensorflow.Env@ByVal public tensorflow.Status GetFileSystemForFile(@StdString BytePointer fname, @ByPtrPtr tensorflow.FileSystem result)
GetFileSystemForFile in class tensorflow.Env@ByVal public tensorflow.Status GetFileSystemForFile(@StdString String fname, @ByPtrPtr tensorflow.FileSystem result)
GetFileSystemForFile in class tensorflow.Env@ByVal public tensorflow.Status GetRegisteredFileSystemSchemes(tensorflow.StringVector schemes)
tensorflow.EnvGetRegisteredFileSystemSchemes in class tensorflow.Env@ByVal public tensorflow.Status RegisterFileSystem(@StdString BytePointer scheme, @ByVal @Cast(value="tensorflow::FileSystemRegistry::Factory*") Pointer factory)
tensorflow.EnvRegisterFileSystem in class tensorflow.Env@ByVal public tensorflow.Status RegisterFileSystem(@StdString String scheme, @ByVal @Cast(value="tensorflow::FileSystemRegistry::Factory*") Pointer factory)
RegisterFileSystem in class tensorflow.Env@Cast(value="bool") public boolean MatchPath(@StdString BytePointer path, @StdString BytePointer pattern)
tensorflow.EnvMatchPath in class tensorflow.Env@Cast(value="bool") public boolean MatchPath(@StdString String path, @StdString String pattern)
MatchPath in class tensorflow.Env@Cast(value="tensorflow::uint64") public long NowMicros()
tensorflow.EnvNowMicros in class tensorflow.Envpublic void SleepForMicroseconds(@Cast(value="tensorflow::int64") long micros)
tensorflow.EnvSleepForMicroseconds in class tensorflow.Envpublic tensorflow.Thread StartThread(@Const @ByRef tensorflow.ThreadOptions thread_options, @StdString BytePointer name, @ByVal tensorflow.Fn fn)
tensorflow.EnvStartThread in class tensorflow.Envpublic tensorflow.Thread StartThread(@Const @ByRef tensorflow.ThreadOptions thread_options, @StdString String name, @ByVal tensorflow.Fn fn)
StartThread in class tensorflow.Envpublic void SchedClosure(@ByVal tensorflow.Fn closure)
SchedClosure in class tensorflow.Envpublic void SchedClosureAfter(@Cast(value="tensorflow::int64") long micros, @ByVal tensorflow.Fn closure)
SchedClosureAfter in class tensorflow.Env@ByVal public tensorflow.Status LoadLibrary(@Cast(value="const char*") BytePointer library_filename, @Cast(value="void**") PointerPointer handle)
LoadLibrary in class tensorflow.Env@ByVal public tensorflow.Status LoadLibrary(@Cast(value="const char*") BytePointer library_filename, @Cast(value="void**") @ByPtrPtr Pointer handle)
LoadLibrary in class tensorflow.Env@ByVal public tensorflow.Status LoadLibrary(String library_filename, @Cast(value="void**") @ByPtrPtr Pointer handle)
LoadLibrary in class tensorflow.Env@ByVal public tensorflow.Status GetSymbolFromLibrary(Pointer handle, @Cast(value="const char*") BytePointer symbol_name, @Cast(value="void**") PointerPointer symbol)
GetSymbolFromLibrary in class tensorflow.Env@ByVal public tensorflow.Status GetSymbolFromLibrary(Pointer handle, @Cast(value="const char*") BytePointer symbol_name, @Cast(value="void**") @ByPtrPtr Pointer symbol)
GetSymbolFromLibrary in class tensorflow.Env@ByVal public tensorflow.Status GetSymbolFromLibrary(Pointer handle, String symbol_name, @Cast(value="void**") @ByPtrPtr Pointer symbol)
GetSymbolFromLibrary in class tensorflow.Env@StdString public BytePointer FormatLibraryFileName(@StdString BytePointer name, @StdString BytePointer version)
FormatLibraryFileName in class tensorflow.Env@StdString public String FormatLibraryFileName(@StdString String name, @StdString String version)
FormatLibraryFileName in class tensorflow.EnvCopyright © 2019. All rights reserved.