[][src]Struct tensorflow_proto::tensorflow::CreateWorkerSessionRequest

pub struct CreateWorkerSessionRequest {
    pub session_handle: String,
    pub server_def: Option<ServerDef>,
    pub isolate_session_state: bool,
    pub cluster_device_attributes: Vec<DeviceAttributes>,
}

Fields

session_handle: String

Sessions are identified by a given handle.

server_def: Option<ServerDef>

Defines the configuration of a TensorFlow worker.

isolate_session_state: bool

If true, any resources such as Variables used in the session will not be shared with other sessions.

cluster_device_attributes: Vec<DeviceAttributes>

The device attributes of all the devices in the cluster.

Trait Implementations

impl Clone for CreateWorkerSessionRequest[src]

impl Debug for CreateWorkerSessionRequest[src]

impl Default for CreateWorkerSessionRequest[src]

impl Message for CreateWorkerSessionRequest[src]

impl PartialEq<CreateWorkerSessionRequest> for CreateWorkerSessionRequest[src]

impl StructuralPartialEq for CreateWorkerSessionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.