tfp.experimental.auto_batching.type_inference.type_of_pattern
Returns the instructions.Type
of val
.
tfp.experimental.auto_batching.type_inference.type_of_pattern(
val, backend, preferred_type=None
)
Args |
val
|
Pattern of backend-specific Tensor s or a Python or numpy constant.
|
backend
|
Object implementing required backend operations.
|
preferred_type
|
instructions.Type to prefer, if t is a constant.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-21 UTC.
[null,null,["Last updated 2023-11-21 UTC."],[],[]]