Packages

object OpDef extends GeneratedMessageCompanion[OpDef]

Linear Supertypes
GeneratedMessageCompanion[OpDef], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OpDef
  2. GeneratedMessageCompanion
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. 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.

    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()
  2. final case class AttrDef(name: String = "", type: String = "", defaultValue: Option[AttrValue] = _root_.scala.None, description: String = "", hasMinimum: Boolean = false, minimum: Long = 0L, allowedValues: Option[AttrValue] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[AttrDef] with Product with Serializable

    Description of the graph-construction-time configuration of this Op.

    Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.

    name

    A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".

    type

    One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).

    defaultValue

    A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.

    description

    Human-readable description.

    hasMinimum

    For type == "int", this is a minimum value. For "list(_)" types, this is the minimum length.

    allowedValues

    The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.

    Annotations
    @SerialVersionUID()
  3. implicit class OpDefLens[UpperPB] extends ObjectLens[UpperPB, OpDef]
  4. type ValueType = OpDef
    Definition Classes
    GeneratedMessageCompanion

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 val ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER: Int(19)
  5. final val ATTR_FIELD_NUMBER: Int(4)
  6. final val CONTROL_OUTPUT_FIELD_NUMBER: Int(20)
  7. final val DEPRECATION_FIELD_NUMBER: Int(8)
  8. final val DESCRIPTION_FIELD_NUMBER: Int(6)
  9. final val INPUT_ARG_FIELD_NUMBER: Int(2)
  10. final val IS_AGGREGATE_FIELD_NUMBER: Int(16)
  11. final val IS_COMMUTATIVE_FIELD_NUMBER: Int(18)
  12. final val IS_STATEFUL_FIELD_NUMBER: Int(17)
  13. final val NAME_FIELD_NUMBER: Int(1)
  14. final val OUTPUT_ARG_FIELD_NUMBER: Int(3)
  15. final val SUMMARY_FIELD_NUMBER: Int(5)
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  18. lazy val defaultInstance: OpDef
    Definition Classes
    OpDef → GeneratedMessageCompanion
  19. def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]
    Definition Classes
    GeneratedMessageCompanion
  20. def enumCompanionForFieldNumber(__fieldNumber: Int): GeneratedEnumCompanion[_]
    Definition Classes
    OpDef → GeneratedMessageCompanion
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. def fromAscii(s: String): OpDef
    Definition Classes
    GeneratedMessageCompanion
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def javaDescriptor: Descriptor
    Definition Classes
    OpDef → GeneratedMessageCompanion
  28. def merge(a: OpDef, input: CodedInputStream): OpDef
    Definition Classes
    GeneratedMessageCompanion
  29. implicit def messageCompanion: GeneratedMessageCompanion[OpDef]
  30. def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]
    Definition Classes
    GeneratedMessageCompanion
  31. def messageCompanionForFieldNumber(__number: Int): GeneratedMessageCompanion[_]
    Definition Classes
    OpDef → GeneratedMessageCompanion
  32. implicit def messageReads: Reads[OpDef]
    Definition Classes
    OpDef → GeneratedMessageCompanion
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]
    Definition Classes
    OpDef → GeneratedMessageCompanion
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. def of(name: String, inputArg: Seq[ArgDef], outputArg: Seq[ArgDef], controlOutput: Seq[String], attr: Seq[AttrDef], deprecation: Option[OpDeprecation], summary: String, description: String, isCommutative: Boolean, isAggregate: Boolean, isStateful: Boolean, allowsUninitializedInput: Boolean): OpDef
  38. def parseDelimitedFrom(input: InputStream): Option[OpDef]
    Definition Classes
    GeneratedMessageCompanion
  39. def parseDelimitedFrom(input: CodedInputStream): Option[OpDef]
    Definition Classes
    GeneratedMessageCompanion
  40. def parseFrom(_input__: CodedInputStream): OpDef
    Definition Classes
    OpDef → GeneratedMessageCompanion
  41. def parseFrom(s: Array[Byte]): OpDef
    Definition Classes
    GeneratedMessageCompanion
  42. def parseFrom(input: InputStream): OpDef
    Definition Classes
    GeneratedMessageCompanion
  43. def scalaDescriptor: Descriptor
    Definition Classes
    OpDef → GeneratedMessageCompanion
  44. def streamFromDelimitedInput(input: InputStream): Stream[OpDef]
    Definition Classes
    GeneratedMessageCompanion
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toByteArray(a: OpDef): Array[Byte]
    Definition Classes
    GeneratedMessageCompanion
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def validate(s: Array[Byte]): Try[OpDef]
    Definition Classes
    GeneratedMessageCompanion
  49. def validateAscii(s: String): Either[TextFormatError, OpDef]
    Definition Classes
    GeneratedMessageCompanion
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. object ArgDef extends GeneratedMessageCompanion[ArgDef]
  54. object AttrDef extends GeneratedMessageCompanion[AttrDef]

Deprecated Value Members

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

Inherited from GeneratedMessageCompanion[OpDef]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped