Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 73 for var_ (0.07 sec)

  1. 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)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

            compile {
                outgoing {
                    variants {
                        var1 {
                            artifact file('a1.jar')
                            attributes.attribute(buildType, 'profile')
                            attributes.attribute(flavor, 'bland')
                        }
                        var2 {
                            artifact file('a2.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir

        %var_0 = "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
        "tf.AssignVariableOp"(%var_0, %cst_0) : (tensor<!tf_type.resource<tensor<2xf32>>>, tensor<2xf32>) -> ()
        %add_0 = "tf.Identity"(%cst_0) : (tensor<2xf32>) -> tensor<2xf32>
        %var_1 = "tf.VarHandleOp"() {shared_name = "var_1"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. 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)
  5. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

                    if (!"value1".equals(System.getProperty("var1"))) {
                        throw new RuntimeException("Expected system property not specified (var1)");
                    }
                    if (!"value2".equals(System.getProperty("var2"))) {
                        throw new RuntimeException("Expected system property not specified (var2)");
                    }
                }
            }
            '''
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/text/scanner/example_test.go

    	for tok := s.Scan(); tok != scanner.EOF; tok = s.Scan() {
    		fmt.Printf("%s: %s\n", s.Position, s.TokenText())
    	}
    
    	// Output:
    	// default:1:1: %
    	// default:1:2: var1
    	// default:1:7: var2
    	// default:1:11: %
    	//
    	// percent:1:1: %var1
    	// percent:1:7: var2
    	// percent:1:11: %
    }
    
    func Example_mode() {
    	const src = `
        // Comment begins at column 5.
    
    This line should not be included in the output.
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 02:01:58 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

    import static org.testng.Assert.*;
    
    public class ParameterizedTest {
    
        @Test(dataProvider = "1")
    	public void p1(String var1, String var2) {
            System.out.println("var1 is: " + var1);
            System.err.println("var2 is: " + var2);
           	assertEquals(var1, "1");
    	}
    
    	@DataProvider(name = "1")
    	public Object[][] provider1() {
    		return new Object[][] {
    		   {"1", "2"},
    		   {"3", "4"}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

      // Verify that both variables are saved correctly.
      BundleReader bundle_reader(env_, *checkpoint_prefix);
    
      Tensor loaded_var_0{};
      EXPECT_TRUE(bundle_reader.Lookup("var_0", &loaded_var_0).ok());
      ExpectEqual(loaded_var_0, AsTensor<float>({1.0, 2.0}));
    
      Tensor loaded_var_1{};
      EXPECT_TRUE(bundle_reader.Lookup("var_1", &loaded_var_1).ok());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top