tensorflow::ops::IsVariableInitialized

#include <state_ops.h>

Kiểm tra xem một tensor đã được khởi tạo hay chưa.

Bản tóm tắt

Trả về giá trị boolean dạng vô hướng cho biết tensor đã được khởi tạo hay chưa.

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • Tham chiếu: Nên lấy từ một nút Variable . Có thể chưa được khởi tạo.

Trả về:

  • Output : Tensor is_initialized.

Hàm khởi tạo và hàm hủy

IsVariableInitialized (const :: tensorflow::Scope & scope, :: tensorflow::Input ref)

Thuộc tính công khai

is_initialized
operation

Chức năng công cộng

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Thuộc tính công khai

đã được khởi tạo

::tensorflow::Output is_initialized

hoạt động

Operation operation

Chức năng công cộng

IsVariableInitialized

 IsVariableInitialized(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref
)

nút

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const