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