Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for var_ (0.21 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_restore_op.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>) -> ()
    
        %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
    - 9.9K 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/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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/jit/xla_launch_util_test.cc

      template <typename T>
      Var* CreateVariable(const string& name, const TensorShape& shape,
                          const gtl::ArraySlice<T> data) {
        Tensor* init_var_value = CreateDeviceTensor<T>(shape, data);
        Var* var = new Var(DataTypeToEnum<T>::v());
        *var->tensor() = *init_var_value;
        var->is_initialized = true;
    
        return var;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  9. 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)
  10. pkg/env/var.go

    type DurationVar struct {
    	Var
    }
    
    var (
    	allVars = make(map[string]Var)
    	mutex   sync.Mutex
    )
    
    // VarDescriptions returns a description of this process' environment variables, sorted by name.
    func VarDescriptions() []Var {
    	mutex.Lock()
    	sorted := make([]Var, 0, len(allVars))
    	for _, v := range allVars {
    		sorted = append(sorted, v)
    	}
    	mutex.Unlock()
    
    	sort.Slice(sorted, func(i, j int) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top