Packages

final case class ArgDef(name: String = "", description: String = "", type: DataType = ..., typeAttr: String = "", numberAttr: String = "", typeListAttr: String = "", isRef: Boolean = false, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ArgDef] with Product with Serializable

For describing inputs and outputs.

name

Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".

description

Human readable description.

type

Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".

typeAttr

if specified, attr must have type "type"

numberAttr

if specified, attr must have type "int"

typeListAttr

If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.

isRef

For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.

Annotations
@SerialVersionUID()
Linear Supertypes
Updatable[ArgDef], GeneratedMessage, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArgDef
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArgDef(name: String = "", description: String = "", type: DataType = ..., typeAttr: String = "", numberAttr: String = "", typeListAttr: String = "", isRef: Boolean = false, unknownFields: UnknownFieldSet = ...)

    name

    Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".

    description

    Human readable description.

    type

    Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".

    typeAttr

    if specified, attr must have type "type"

    numberAttr

    if specified, attr must have type "int"

    typeListAttr

    If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.

    isRef

    For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def companion: ArgDef.type
    Definition Classes
    ArgDef → GeneratedMessage
  7. val description: String
  8. def discardUnknownFields: ArgDef
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ArgDef → GeneratedMessage
  12. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ArgDef → GeneratedMessage
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val isRef: Boolean
  15. val name: String
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val numberAttr: String
  20. def serializedSize: Int
    Definition Classes
    ArgDef → GeneratedMessage
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  23. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  24. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  25. def toProtoString: String
    Definition Classes
    ArgDef → GeneratedMessage
  26. val type: DataType
  27. val typeAttr: String
  28. val typeListAttr: String
  29. val unknownFields: UnknownFieldSet
  30. def update(ms: (Lens[ArgDef, ArgDef]) ⇒ Mutation[ArgDef]*): ArgDef
    Definition Classes
    Updatable
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withDescription(__v: String): ArgDef
  35. def withIsRef(__v: Boolean): ArgDef
  36. def withName(__v: String): ArgDef
  37. def withNumberAttr(__v: String): ArgDef
  38. def withType(__v: DataType): ArgDef
  39. def withTypeAttr(__v: String): ArgDef
  40. def withTypeListAttr(__v: String): ArgDef
  41. def withUnknownFields(__v: UnknownFieldSet): ArgDef
  42. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  43. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ArgDef → GeneratedMessage
  44. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Updatable[ArgDef]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped