Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateUninitialized (0.18 sec)

  1. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

      std::vector<int64_t> shape_vector = std::get<1>(test_params);
      TensorShape shape(shape_vector);
    
      // Create the variable.
      Status status;
      std::unique_ptr<Variable> var;
      TF_EXPECT_OK(Variable::CreateUninitialized(context(), dtype, shape,
                                                 absl::nullopt, nullptr, {}, &var));
    
      // Create a TensorHandle
      ImmediateTensorHandlePtr expected_handle =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top