Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LoadSavedVariable (0.25 sec)

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

      SavedVariable saved_variable;
      saved_variable.set_dtype(dtype);
      shape.AsProto(saved_variable.mutable_shape());
    
      std::unique_ptr<Variable> var;
      TF_EXPECT_OK(internal::LoadSavedVariable(context(), saved_variable, &var));
      EXPECT_EQ(var->dtype(), dtype);
      EXPECT_EQ(var->shape(), shape);
    }
    
    // Verify that a device specified in the SavedVariable is kept.
    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