Home
last modified time | relevance | path

Searched defs:attrWrapper (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/go/genop/internal/
Dgenop.go361 type attrWrapper struct { struct
362 op *odpb.OpDef_AttrDef
363 api *adpb.ApiDef_Attr
366 func (a *attrWrapper) Name() string { return a.api.Name }
367 func (a *attrWrapper) RenameTo() string { return a.api.RenameTo }
368 func (a *attrWrapper) Description() string { return a.api.Description }
369 func (a *attrWrapper) Type() string { return a.op.Type }
370 func (a *attrWrapper) IsListAttr() bool { return isListAttr(a.op) }
371 func (a *attrWrapper) HasMinimum() bool { return a.op.HasMinimum }
372 func (a *attrWrapper) Minimum() int64 { return a.op.Minimum }
[all …]