shared

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

package shared contains client and shared dependency without direct dependency on tensorflow

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Name     string
	Index    int
	Wildcard bool   `json:",omitempty" yaml:",omitempty"`
	Layer    string `json:",omitempty" yaml:",omitempty"`
	DataType string `json:",omitempty" yaml:",omitempty"`

	Auxiliary bool `json:",omitempty" yaml:",omitempty"`
	// contains filtered or unexported fields
}

func (*Field) RawType

func (f *Field) RawType() reflect.Type

func (*Field) SetRawType

func (f *Field) SetRawType(t reflect.Type)

type Fields

type Fields []*Field

type MetaInput

type MetaInput struct {
	Inputs    []*Field
	KeyFields []string `json:",omitempty" yaml:",omitempty"`
	Auxiliary []string `json:",omitempty" yaml:",omitempty"`
	Outputs   []*Field `json:",omitempty" yaml:",omitempty"`
}

func (*MetaInput) FieldByName

func (m *MetaInput) FieldByName() map[string]*Field

func (*MetaInput) Init

func (m *MetaInput) Init()

func (*MetaInput) KeysLen

func (d *MetaInput) KeysLen() int

func (*MetaInput) OutputIndex added in v0.2.0

func (m *MetaInput) OutputIndex() map[string]int

type Output

type Output struct {
	Values     []interface{}
	InputIndex int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL