Documentation
¶
Index ¶
- func CreateTaskFile(t *Task) (*bufio.Writer, string)
- type Activation
- type Add
- type Batch
- type BatchNormalization
- type CSV
- type Concat
- type Conv2D
- type Conv2DTranspose
- type Data
- type Dense
- type Dropout
- type Flatten
- type HiddenLayer
- type Input
- type LRelu
- type Loss
- type MaxPool
- type Metrics
- type Model
- type Optimizer
- type Padding
- type Process
- type Relu
- type Reshape
- type Result
- type Softmax
- type Tag
- type TagContext
- type TagExt
- type TagOp
- func NewActivation(ctx *TagContext) TagOp
- func NewAdd(ctx *TagContext) TagOp
- func NewBatch(ctx *TagContext) TagOp
- func NewBatchNormalization(ctx *TagContext) TagOp
- func NewCSV(ctx *TagContext) TagOp
- func NewConcat(ctx *TagContext) TagOp
- func NewConv2D(ctx *TagContext) TagOp
- func NewConv2DTranspose(ctx *TagContext) TagOp
- func NewData(ctx *TagContext) TagOp
- func NewDense(ctx *TagContext) TagOp
- func NewDropout(ctx *TagContext) TagOp
- func NewFlatten(ctx *TagContext) TagOp
- func NewInput(ctx *TagContext) TagOp
- func NewLRelu(ctx *TagContext) TagOp
- func NewLoss(ctx *TagContext) TagOp
- func NewMaxPool(ctx *TagContext) TagOp
- func NewMetrics(ctx *TagContext) TagOp
- func NewModel(ctx *TagContext) TagOp
- func NewOptimizer(ctx *TagContext) TagOp
- func NewPadding(ctx *TagContext) TagOp
- func NewProcess(ctx *TagContext) TagOp
- func NewRelu(ctx *TagContext) TagOp
- func NewReshape(ctx *TagContext) TagOp
- func NewResult(ctx *TagContext) TagOp
- func NewSoftmax(ctx *TagContext) TagOp
- func NewTask(dom *goquery.Document) TagOp
- func NewTrain(ctx *TagContext) TagOp
- type Task
- type Train
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Activation ¶
type Activation struct {
*HiddenLayer
}
func (*Activation) Name ¶
func (a *Activation) Name() string
func (*Activation) Next ¶
func (a *Activation) Next() TagOp
func (*Activation) Parse ¶
func (a *Activation) Parse(writer *bufio.Writer)
<activation name="sigmoid" type="sigmoid"></activation>
type Add ¶
type Add struct {
*HiddenLayer
}
type BatchNormalization ¶
type BatchNormalization struct {
*HiddenLayer
}
func (*BatchNormalization) Name ¶
func (b *BatchNormalization) Name() string
func (*BatchNormalization) Next ¶
func (b *BatchNormalization) Next() TagOp
func (*BatchNormalization) Parse ¶
func (b *BatchNormalization) Parse(writer *bufio.Writer)
<batch-normalization name="bn"></batch-normalization>
type Concat ¶
type Concat struct {
*HiddenLayer
}
type Conv2D ¶
type Conv2D struct {
*HiddenLayer
}
type Conv2DTranspose ¶
type Conv2DTranspose struct {
*HiddenLayer
}
func (*Conv2DTranspose) Name ¶
func (c *Conv2DTranspose) Name() string
func (*Conv2DTranspose) Next ¶
func (c *Conv2DTranspose) Next() TagOp
func (*Conv2DTranspose) Parse ¶
func (c *Conv2DTranspose) Parse(writer *bufio.Writer)
<conv2d-transpose filters="32" kernel="3" name="conv3" activation="relu" layer="reshape"></conv2d-transpose>
type Dense ¶
type Dense struct {
*HiddenLayer
}
type Dropout ¶
type Dropout struct {
*HiddenLayer
}
type Flatten ¶
type Flatten struct {
*HiddenLayer
}
type HiddenLayer ¶
type HiddenLayer struct {
*Tag
}
func (*HiddenLayer) CheckBuildModel ¶
func (h *HiddenLayer) CheckBuildModel(writer *bufio.Writer)
func (*HiddenLayer) Name ¶
func (h *HiddenLayer) Name() string
func (*HiddenLayer) Next ¶
func (h *HiddenLayer) Next() TagOp
type LRelu ¶
type LRelu struct {
*HiddenLayer
}
type MaxPool ¶
type MaxPool struct {
*HiddenLayer
}
type Padding ¶
type Padding struct {
*HiddenLayer
}
type Relu ¶
type Relu struct {
*HiddenLayer
}
type Reshape ¶
type Reshape struct {
*HiddenLayer
}
type Softmax ¶
type Softmax struct {
*HiddenLayer
}
type TagContext ¶
func CreateTagContext ¶
func CreateTagContext(prev *Tag, cur *goquery.Selection) *TagContext
type TagOp ¶
func NewActivation ¶
func NewActivation(ctx *TagContext) TagOp
func NewAdd ¶
func NewAdd(ctx *TagContext) TagOp
func NewBatch ¶
func NewBatch(ctx *TagContext) TagOp
func NewBatchNormalization ¶
func NewBatchNormalization(ctx *TagContext) TagOp
func NewCSV ¶
func NewCSV(ctx *TagContext) TagOp
func NewConcat ¶
func NewConcat(ctx *TagContext) TagOp
func NewConv2D ¶
func NewConv2D(ctx *TagContext) TagOp
func NewConv2DTranspose ¶
func NewConv2DTranspose(ctx *TagContext) TagOp
func NewData ¶
func NewData(ctx *TagContext) TagOp
func NewDense ¶
func NewDense(ctx *TagContext) TagOp
func NewDropout ¶
func NewDropout(ctx *TagContext) TagOp
func NewFlatten ¶
func NewFlatten(ctx *TagContext) TagOp
func NewInput ¶
func NewInput(ctx *TagContext) TagOp
func NewLRelu ¶
func NewLRelu(ctx *TagContext) TagOp
func NewLoss ¶
func NewLoss(ctx *TagContext) TagOp
func NewMaxPool ¶
func NewMaxPool(ctx *TagContext) TagOp
func NewMetrics ¶
func NewMetrics(ctx *TagContext) TagOp
func NewModel ¶
func NewModel(ctx *TagContext) TagOp
func NewOptimizer ¶
func NewOptimizer(ctx *TagContext) TagOp
func NewPadding ¶
func NewPadding(ctx *TagContext) TagOp
func NewProcess ¶
func NewProcess(ctx *TagContext) TagOp
func NewRelu ¶
func NewRelu(ctx *TagContext) TagOp
func NewReshape ¶
func NewReshape(ctx *TagContext) TagOp
func NewResult ¶
func NewResult(ctx *TagContext) TagOp
func NewSoftmax ¶
func NewSoftmax(ctx *TagContext) TagOp
func NewTrain ¶
func NewTrain(ctx *TagContext) TagOp
Source Files
¶
- activation.go
- add.go
- batch.go
- batch_normalization.go
- concat.go
- conv2d.go
- conv2d_transpose.go
- csv.go
- data.go
- dense.go
- dropout.go
- flatten.go
- hidden_layer.go
- input.go
- loss.go
- lrelu.go
- maxpool.go
- metrics.go
- model.go
- optimizer.go
- padding.go
- process.go
- relu.go
- reshape.go
- result.go
- softmax.go
- tag.go
- tags.go
- task.go
- train.go
- train_params.go
Click to show internal directories.
Click to hide internal directories.