Aprenda o que há de mais recente em aprendizado de máquina, IA generativa e muito mais no WiML Symposium 2023
Registre-se
TensorFlow
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Métodos de utilitário estáticos que descrevem o tempo de execução do TensorFlow.
Métodos Públicos
byte estático [] | loadLibrary (String nome do arquivo) Carregue a biblioteca dinâmica em nome de arquivo e registre as operações e kernels presentes nessa biblioteca. |
byte estático [] | RegisteredOpList () Todas as operações do TensorFlow disponíveis neste espaço de endereço. |
String estática | versão () Retorna a versão do tempo de execução do TensorFlow subjacente. |
Métodos herdados
Da classe java.lang.Object boleano | igual a (objeto arg0) |
aula final <?> | getClass () |
int | hashCode () |
vazio final | notificar () |
vazio final | notificar tudo () |
Fragmento | toString () |
vazio final | espera (long arg0, int arg1) |
vazio final | espera (long arg0) |
vazio final | espera () |
Métodos Públicos
public static byte [] loadLibrary (String nome do arquivo)
Carregue a biblioteca dinâmica em nome de arquivo e registre as operações e kernels presentes nessa biblioteca.
Parâmetros
nome do arquivo | Caminho da biblioteca dinâmica contendo operações e kernels para carregar. |
---|
Devoluções
- Bytes serializados da mensagem do buffer do protocolo OpList que definem as operações definidas na biblioteca.
Lança
UnsatisfiedLinkError | se o nome do arquivo não puder ser carregado. |
---|
public static byte [] RegisteredOpList ()
Todas as operações do TensorFlow disponíveis neste espaço de endereço.
Devoluções
- Uma representação serializada de um buffer de protocolo OpList , que lista todas as operações disponíveis do TensorFlow.
versão de string estática pública ()
Retorna a versão do tempo de execução do TensorFlow subjacente.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2020-08-20 UTC.
[null,null,["Última atualização 2020-08-20 UTC."],[],[],null,["# TensorFlow\n\npublic final class **TensorFlow** \nStatic utility methods describing the TensorFlow runtime. \n\n### Public Methods\n\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static byte\\[\\] | [loadLibrary](/versions/r2.3/api_docs/java/org/tensorflow/TensorFlow#loadLibrary(java.lang.String))(String filename) Load the dynamic library in filename and register the operations and kernels present in that library. |\n| static byte\\[\\] | [registeredOpList](/versions/r2.3/api_docs/java/org/tensorflow/TensorFlow#registeredOpList())() All the TensorFlow operations available in this address space. |\n| static String | [version](/versions/r2.3/api_docs/java/org/tensorflow/TensorFlow#version())() Returns the version of the underlying TensorFlow runtime. |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public static byte\\[\\]\n**loadLibrary**\n(String filename)\n\nLoad the dynamic library in filename and register the operations and kernels present in that\nlibrary. \n\n##### Parameters\n\n| filename | Path of the dynamic library containing operations and kernels to load. |\n|----------|------------------------------------------------------------------------|\n\n##### Returns\n\n- Serialized bytes of the [OpList](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer message defining the operations defined in the library. \n\n##### Throws\n\n| UnsatisfiedLinkError | if filename cannot be loaded. |\n|----------------------|-------------------------------|\n\n#### public static byte\\[\\]\n**registeredOpList**\n()\n\nAll the TensorFlow operations available in this address space. \n\n##### Returns\n\n- A serialized representation of an [OpList](https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto) protocol buffer, which lists all the available TensorFlow operations. \n\n#### public static String\n**version**\n()\n\nReturns the version of the underlying TensorFlow runtime."]]