Package | Description |
---|---|
org.tensorflow |
Defines classes to build, save, load and execute TensorFlow models.
|
Modifier and Type | Method and Description |
---|---|
EagerSession.Options |
EagerSession.Options.async(boolean value)
Controls how operations dispatched are actually executed.
|
EagerSession.Options |
EagerSession.Options.async(boolean value)
Controls how operations dispatched are actually executed.
|
EagerSession.Options |
EagerSession.Options.config(byte[] value)
Configures the session based on the data found in the provided buffer, which is serialized
TensorFlow config proto.
|
EagerSession.Options |
EagerSession.Options.config(byte[] value)
Configures the session based on the data found in the provided buffer, which is serialized
TensorFlow config proto.
|
EagerSession.Options |
EagerSession.Options.devicePlacementPolicy(EagerSession.DevicePlacementPolicy value)
Controls how to act when we try to run an operation on a given device but some input tensors
are not on that device.
|
EagerSession.Options |
EagerSession.Options.devicePlacementPolicy(EagerSession.DevicePlacementPolicy value)
Controls how to act when we try to run an operation on a given device but some input tensors
are not on that device.
|
static EagerSession.Options |
EagerSession.options()
Returns an object that configures and builds a
EagerSession with custom options. |
static EagerSession.Options |
EagerSession.options()
Returns an object that configures and builds a
EagerSession with custom options. |
EagerSession.Options |
EagerSession.Options.resourceCleanupStrategy(EagerSession.ResourceCleanupStrategy value)
Controls how TensorFlow resources are cleaned up when no longer needed.
|
EagerSession.Options |
EagerSession.Options.resourceCleanupStrategy(EagerSession.ResourceCleanupStrategy value)
Controls how TensorFlow resources are cleaned up when no longer needed.
|
Modifier and Type | Method and Description |
---|---|
static EagerSession |
EagerSession.initDefault(EagerSession.Options options)
Initializes the default eager session, which remains active for the lifetime of the
application.
|
static EagerSession |
EagerSession.initDefault(EagerSession.Options options)
Initializes the default eager session, which remains active for the lifetime of the
application.
|
Copyright © 2022. All rights reserved.