tf.raw_ops.Variable
Используйте VariableV2 вместо этого.
tf.raw_ops.Variable(
shape, dtype, container='', shared_name='', name=None
)
| Аргументы | |
|---|---|
shape | tf.TensorShape или список ints. |
dtype | tf.DType. |
container | Необязательный string. По умолчанию "". |
shared_name | Необязательный string. По умолчанию "". |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
Изменяемая Tensor типа dtype. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/raw_ops/Variable