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

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

There is a newer version: 1.15.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/trace_events.proto

package org.tensorflow.framework;

public interface DeviceOrBuilder extends
    // @@protoc_insertion_point(interface_extends:tensorflow.profiler.Device)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The name of the device.
   * 
* * string name = 1; */ java.lang.String getName(); /** *
   * The name of the device.
   * 
* * string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** *
   * The id of this device, unique in a single trace.
   * 
* * uint32 device_id = 2; */ int getDeviceId(); /** *
   * The resources on this device, keyed by resource_id;
   * 
* * map<uint32, .tensorflow.profiler.Resource> resources = 3; */ int getResourcesCount(); /** *
   * The resources on this device, keyed by resource_id;
   * 
* * map<uint32, .tensorflow.profiler.Resource> resources = 3; */ boolean containsResources( int key); /** * Use {@link #getResourcesMap()} instead. */ @java.lang.Deprecated java.util.Map getResources(); /** *
   * The resources on this device, keyed by resource_id;
   * 
* * map<uint32, .tensorflow.profiler.Resource> resources = 3; */ java.util.Map getResourcesMap(); /** *
   * The resources on this device, keyed by resource_id;
   * 
* * map<uint32, .tensorflow.profiler.Resource> resources = 3; */ org.tensorflow.framework.Resource getResourcesOrDefault( int key, org.tensorflow.framework.Resource defaultValue); /** *
   * The resources on this device, keyed by resource_id;
   * 
* * map<uint32, .tensorflow.profiler.Resource> resources = 3; */ org.tensorflow.framework.Resource getResourcesOrThrow( int key); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy