All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tensorflow.framework.ThreadPoolOptionProtoOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/config.proto

package org.tensorflow.framework;

public interface ThreadPoolOptionProtoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.ThreadPoolOptionProto)
    com.github.os72.protobuf351.MessageOrBuilder {

  /**
   * 
   * The number of threads in the pool.
   * 0 means the system picks a value based on where this option proto is used
   * (see the declaration of the specific field for more info).
   * 
* * int32 num_threads = 1; */ int getNumThreads(); /** *
   * The global name of the threadpool.
   * If empty, then the threadpool is made and used according to the scope it's
   * in - e.g., for a session threadpool, it is used by that session only.
   * If non-empty, then:
   * - a global threadpool associated with this name is looked
   *   up or created. This allows, for example, sharing one threadpool across
   *   many sessions (e.g., like the default behavior, if
   *   inter_op_parallelism_threads is not configured), but still partitioning
   *   into a large and small pool.
   * - if the threadpool for this global_name already exists, then it is an
   *   error if the existing pool was created using a different num_threads
   *   value as is specified on this call.
   * - threadpools created this way are never garbage collected.
   * 
* * string global_name = 2; */ java.lang.String getGlobalName(); /** *
   * The global name of the threadpool.
   * If empty, then the threadpool is made and used according to the scope it's
   * in - e.g., for a session threadpool, it is used by that session only.
   * If non-empty, then:
   * - a global threadpool associated with this name is looked
   *   up or created. This allows, for example, sharing one threadpool across
   *   many sessions (e.g., like the default behavior, if
   *   inter_op_parallelism_threads is not configured), but still partitioning
   *   into a large and small pool.
   * - if the threadpool for this global_name already exists, then it is an
   *   error if the existing pool was created using a different num_threads
   *   value as is specified on this call.
   * - threadpools created this way are never garbage collected.
   * 
* * string global_name = 2; */ com.github.os72.protobuf351.ByteString getGlobalNameBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy