Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsVariableInitialized (0.56 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.cc

    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/public/session.h"
    
    namespace mlir {
    namespace tf_saved_model {
    
    // Returns true if the variable 'var_handle_op' is initialized in 'session'.
    bool IsVariableInitialized(mlir::TF::VarHandleOp var_handle_op,
                               llvm::StringRef device_name,
                               const tensorflow::DeviceMgr* mgr,
                               tensorflow::Session* session) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 19:14:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     AssignSub 2
     BroadcastGradientArgs 44
     Cast 38
     ConcatV2 3
     Const 875
     ControlTrigger 5
     Enter 874
     Equal 4
     Exit 69
     ExpandDims 9
     Fill 5
     FloorMod 1
     GreaterEqual 7
     Identity 113
     IsVariableInitialized 1
     IteratorGetNext 1
     IteratorV2 1
     Less 9
     LogicalAnd 3
     LoopCond 8
     Max 4
     Maximum 44
     Merge 145
     Minimum 43
     Mul 8
     NextIteration 136
     RandomUniform 14
     Range 9
     RefSwitch 166
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_ops_test.cc

      auto add = Add(with_control_deps, v, 1.0f);
      Scope no_control_deps = with_control_deps.WithNoControlDependencies();
      auto sub = Sub(no_control_deps, 3.0f, 2.0f);
      auto is_inited =
          IsVariableInitialized(no_control_deps.WithControlDependencies(sub), v);
    
      TF_EXPECT_OK(root.status());
    
      std::vector<Tensor> out;
    
      test::GetTensors(root, {add}, &out);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top