Represents an Any.
| 13 | |
| 14 | /** Represents an Any. */ |
| 15 | class Any implements IAny { |
| 16 | /** |
| 17 | * Constructs a new Any. |
| 18 | * @param [p] Properties to set |
| 19 | */ |
| 20 | constructor(p?: tensorflow.IAny); |
| 21 | |
| 22 | /** Any typeUrl. */ |
| 23 | public typeUrl: string; |
| 24 | |
| 25 | /** Any value. */ |
| 26 | public value: Uint8Array; |
| 27 | |
| 28 | /** |
| 29 | * Decodes an Any message from the specified reader or buffer. |
| 30 | * @param r Reader or buffer to decode from |
| 31 | * @param [l] Message length if known beforehand |
| 32 | * @returns Any |
| 33 | * @throws {Error} If the payload is not a reader or valid buffer |
| 34 | * @throws {$protobuf.util.ProtocolError} If required fields are missing |
| 35 | */ |
| 36 | public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): |
| 37 | tensorflow.Any; |
| 38 | } |
| 39 | |
| 40 | /** DataType enum. */ |
| 41 | enum DataType { |
nothing calls this directly
no outgoing calls
no test coverage detected