Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 319 for var0 (0.34 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_variables_v1.py

    from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common_v1
    
    # CHECK: "tf_saved_model.global_tensor"() <{is_mutable, sym_name = "[[VAR0:[a-zA-Z_0-9]+]]", type = tensor<5x3xf32>, value = {{.*}} : tensor<5x3xf32>}> : () -> ()
    # CHECK: "tf_saved_model.global_tensor"() <{is_mutable, sym_name = "[[VAR1:[a-zA-Z_0-9]+]]", type = tensor<3x5xf32>, value = {{.*}} : tensor<3x5xf32>}> : () -> ()
    # CHECK:      func {{@[a-zA-Z_0-9]+}}(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_asset_sinking.mlir

        // CHECK: %[[VAR0:.*]] = "tf.VarHandleOp"()
        %0 = "tf.VarHandleOp"() {container = "", shared_name = "var0"} : () -> tensor<!tf_type.resource<tensor<!tf_type.string>>>
    
        // CHECK: "tf.AssignVariableOp"(%[[VAR0]], %[[ASSET0]])
        "tf.AssignVariableOp"(%0, %arg0) : (tensor<!tf_type.resource<tensor<!tf_type.string>>>, tensor<!tf_type.string>) -> ()
    
        // CHECK: %[[VAR1:.*]] = "tf.VarHandleOp"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

        loop body inine):
    
        ```mlir
          %var0 = ...
          %var1 = ...
          tf.while (..., %var0, %var1) {
            tf_device.replicate ([%var0, %var1] as %rvar) {
              %compile:2 = "tf._TPUCompileMlir"()
              tf.TPUExecuteAndUpdateVariablesOp(%rvar, compile#1)
            }
          }
        ```
    
        This pass will transform it into
    
        ```mlir
          %var0 = ...
          %var1 = ...
          %state_var0 = ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

    func.func @init() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init"]} {
      %var0 = "tf.VarHandleOp"() {container = "", shared_name = "var0"} : () -> tensor<!tf_type.resource<tensor<i1>>>
      %cond = "tf.ReadVariableOp"(%var0) {device = "/CPU:0"} : (tensor<!tf_type.resource<tensor<i1>>>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_distributed_test.cc

             "      input_arg {"
             "        name: 'var0'"
             "        type: DT_RESOURCE"
             "      }"
             "      output_arg {"
             "        name: 'var0_value'"
             "        type: DT_FLOAT"
             "      }"
             "    }"
             "    node_def {"
             "      name: 'read0'"
             "      op: 'ReadVariableOp'"
             "      input: 'var0'"
             "      attr {"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    loop body inine):
    
    ```mlir
      %var0 = ...
      %var1 = ...
      tf.while (..., %var0, %var1) {
        tf_device.replicate ([%var0, %var1] as %rvar) {
          %compile:2 = "tf._TPUCompileMlir"()
          tf.TPUExecuteAndUpdateVariablesOp(%rvar, compile#1)
        }
      }
    ```
    
    This pass will transform it into
    
    ```mlir
      %var0 = ...
      %var1 = ...
      %state_var0 = ...
      %state_var1 = ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

        func.return %4 : tensor<100x50xf32>
      }
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var1"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var2"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/hoist_loop_invariant.mlir

    // CHECK-NEXT:  "tf.AssignVariableOp"([[VAR]], [[RES_1]])
    // CHECK:       "tf.Yield"([[RES_3]], [[RES_4]])
    func.func @readvariableop_is_not_hoisted_if_not_readonly(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
      %cst_0 = "tf.Const"() { value = dense<1> : tensor<i32> } : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 22 17:12:02 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_initialize_variables_in_session_init.mlir

      // CHECK-SAME: tf_saved_model.initializer_type = "restore_op"
      // CHECK: %[[VAR:.*]] = "tf.VarHandleOp"()
      // CHECK-SAME: "var1"
      // CHECK: %[[CST:.*]] = arith.constant dense<> : tensor<0xf32>
      // CHECK: "tf.AssignVariableOp"(%[[VAR]], %[[CST]])
    }
    
    
    // -----
    
    // Test invalid tensor
    // expected-error@below{{Can't find variable var5 in session}}
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

            compile {
                attributes.attribute(buildType, 'debug')
                outgoing {
                    variants {
                        var1 {
                            artifact oneJar
                            attributes.attribute(flavor, 'one')
                        }
                        var2 {
                            artifact twoJar
                            attributes.attribute(flavor, 'two')
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top