Documentation ¶
Overview ¶
Package tensorflow provides implementation of Go API for extract data to vector
Package tensorflow provides implementation of Go API for extract data to vector ¶
Package tensorflow provides implementation of Go API for extract data to vector
Index ¶
- type Closer
- type Operation
- type Option
- func WithExportPath(path string) Option
- func WithFeed(operationName string, outputIndex int) Option
- func WithFeeds(feeds map[string]int) Option
- func WithFetch(operationName string, outputIndex int) Option
- func WithFetches(feeds map[string]int) Option
- func WithNdim(ndim uint8) Option
- func WithOperations(opes ...*Operation) Option
- func WithSessionConfig(cfg []byte) Option
- func WithSessionOptions(opts *SessionOptions) Option
- func WithSessionTarget(tgt string) Option
- func WithTags(tags ...string) Option
- func WithWarmupInputs(warmupInputs ...string) Option
- type OutputSpec
- type SessionOptions
- type TF
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*tensorflow)
Option is tensorflow configure.
func WithExportPath ¶
WithExportPath returns Option that sets exportDir.
func WithFetches ¶ added in v0.0.33
WithFetches returns Option that sets feeds.
func WithOperations ¶
WithOperations returns Option that sets operations.
func WithSessionConfig ¶
WithSessionConfig returns Option that sets config.
func WithSessionOptions ¶
func WithSessionOptions(opts *SessionOptions) Option
WithSessionOptions returns Option that sets options.
func WithSessionTarget ¶
WithSessionTarget returns Option that sets target.
func WithWarmupInputs ¶ added in v0.0.48
WithWarmupInputs returns Option that sets warmupInputs.
type OutputSpec ¶ added in v0.0.33
type OutputSpec struct {
// contains filtered or unexported fields
}
OutputSpec is the specification of an feed/fetch.
type SessionOptions ¶
type SessionOptions = tf.SessionOptions
SessionOptions is a type alias for tensorflow.SessionOptions.