Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for var_handle (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

    // CHECK-DAG: %[[VAR_HANDLE_0:.*]] = "tf.VarHandleOp"() {{.*shared_name = "const_0".*}}
    // CHECK-DAG: "tf.AssignVariableOp"(%[[VAR_HANDLE_0]], %[[CST_0]])
    
    // CHECK-DAG: %[[CST_1:.*]] = "tf.Const"() <{{{.*value = dense<2.000000e\+00> : tensor<8xf32>.*}}}>
    // CHECK-DAG: %[[VAR_HANDLE_1:.*]] = "tf.VarHandleOp"()  {{.*shared_name = "const_1".*}}
    // CHECK-DAG: "tf.AssignVariableOp"(%[[VAR_HANDLE_1]], %[[CST_1]])
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      IMAG=133,
      REAL=134,
      COMPLEX_ABS=135,
      HASHTABLE = 136,
      HASHTABLE_FIND = 137,
      HASHTABLE_IMPORT = 138,
      HASHTABLE_SIZE = 139,
      REDUCE_ALL = 140,
      CONV_3D_TRANSPOSE = 141,
      VAR_HANDLE = 142,
      READ_VARIABLE = 143,
      ASSIGN_VARIABLE = 144,
    }
    // LINT.ThenChange(nnapi_linter/linter.proto)
    
    // Options for the builtin operators.
    union BuiltinOptions {
      Conv2DOptions,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema.fbs

      IMAG=133,
      REAL=134,
      COMPLEX_ABS=135,
      HASHTABLE = 136,
      HASHTABLE_FIND = 137,
      HASHTABLE_IMPORT = 138,
      HASHTABLE_SIZE = 139,
      REDUCE_ALL = 140,
      CONV_3D_TRANSPOSE = 141,
      VAR_HANDLE = 142,
      READ_VARIABLE = 143,
      ASSIGN_VARIABLE = 144,
      BROADCAST_ARGS = 145,
      RANDOM_STANDARD_NORMAL = 146,
      BUCKETIZE = 147,
      RANDOM_UNIFORM = 148,
      MULTINOMIAL = 149,
      GELU = 150,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

      }
    };
    
    // Checks if the input producer op is supported in this transform. Right now, we
    // only check if it is a tf.IteratorGetNext where resource input is coming from
    // a VarHandle on CPU or a function argument assigned to CPU.
    bool IsSupportedInputOp(
        Operation* op,
        const TF::ResourceAliasAnalysis::Info& resource_alias_analysis) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        because the tensors are loaded asynchronously.
    
      }];
    
      let arguments = (ins
        TFTensorType:$prefix,
        TFTensorType:$tensor_names,
        TFTensorType:$shape_and_slices,
        Variadic<TFTensorType>:$var_handles,
        TypeArrayAttr: $restored_dtypes,
        DenseBoolArrayAttr: $truncate_in_cast
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        if (variables.count(GetResourceKey(var_handle_op)))
          work_list.push_back(var_handle_op);
      }
    
      // Capture list of ops to be erased by traversing usage starting from
      // the VarHandle ops.
      llvm::SetVector<Operation*> erase_list;
      while (!work_list.empty()) {
        auto* operation = work_list.pop_back_val();
        erase_list.insert(operation);
        for (auto& use : operation->getUses()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

    // RUN: tf-tfrt-opt -split-input-file -tfrt-lower-tf-savedmodel=hoist-invariant-ops=true %s | FileCheck %s --dump-input=fail --dump-input-filter=all
    
    module attributes {tf_saved_model.semantics} {
    
    // Test hoisting varhandle op.
    
    // CHECK-LABEL: func @_tfrt_resource_init
    // CHECK: [[handle:%.*]] = "tf.VarHandleOp"() <{container = "", shared_name = "x"}> : () -> tensor<!tf_type.resource<tensor<i32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top