Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for var_ (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

    // Test case: Basic freezing.
    
    module {
      // CHECK: func @main()
      func.func @main() -> tensor<0xf32> {
        %handle = "tf.VarHandleOp"() {container="", shared_name="var1", device = "/job:worker/replica:0/task:1/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<0xf32>>>
        %val = "tf.ReadVariableOp"(%handle) : (tensor<!tf_type.resource<tensor<0xf32>>>) -> tensor<0xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  2. tensorflow/cc/tools/freeze_saved_model_test.cc

        if (use_resource) {
          Output var =
              ops::VarHandleOp(scope.WithOpName("var"), DataType::DT_FLOAT, {});
          read_var = ops::ReadVariableOp(
              scope.WithOpName("var/Read/ReadVariableOp"), var, DataType::DT_FLOAT);
          auto assign = ops::AssignVariableOp(scope.WithOpName("assign"), var, a);
          Output var_1 =
              ops::VarHandleOp(scope.WithOpName("var_1"), DataType::DT_FLOAT, {});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  3. src/runtime/stkframe.go

    		// stackmap for this function. It is likely that we are looking
    		// at the function prologue, assume so and hope for the best.
    		pcdata = 0
    	}
    
    	// Local variables.
    	size := frame.varp - frame.sp
    	var minsize uintptr
    	switch goarch.ArchFamily {
    	case goarch.ARM64:
    		minsize = sys.StackAlign
    	default:
    		minsize = sys.MinFrameSize
    	}
    	if size > minsize {
    		stackid := pcdata
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tests/tfcompile_test.cc

      fn.Run();
      EXPECT_EQ(fn.result0(0, 0), 23);
      EXPECT_EQ(fn.result0(1, 0), 65);
      EXPECT_EQ(fn.var_x(), 65);
    
      EXPECT_EQ(fn.var_x_data(), &x);
      EXPECT_EQ(x, 65);
      fn.Run();
      EXPECT_EQ(fn.result0(0, 0), 65);
      EXPECT_EQ(fn.result0(1, 0), 107);
      EXPECT_EQ(fn.var_x(), 107);
    }
    
    TEST(TFCompileTest, VariableSequentialUpdates) {
      Eigen::ThreadPool tp(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

          %out_0, %ctl_0 = tf_executor.island wraps "tf.Const"() {value = dense<"var_0"> : tensor<1x!tf_type.string>} : () -> tensor<1x!tf_type.string>
          %out_1, %ctl_1 = tf_executor.island wraps "tf.VarHandleOp"() {container = "", shared_name = "var_0", device = "/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

            result.output.contains "Hello world!1"
            result.output.contains "Hello world! (buildSrc)"
        }
    
        static class FileSubclass extends File {
            FileSubclass(File var1) {
                super(var1.absolutePath)
            }
        }
    
        @InspectsExecutedTasks
        def "injected classpath may contain File subclasses"() {
            given:
            buildFile << plugin.build().useDeclaration
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarFileTree.java

            return tarFileProvider;
        }
    
        private File getExpandedDir() {
            File tarFile = tarFileProvider.get();
            HashCode fileHash = hashFile(tarFile);
            String expandedDirName = "tar_" + fileHash;
            return temporaryExtractionDir.newTemporaryDirectory(".cache", "expanded", expandedDirName);
        }
    
        private HashCode hashFile(File tarFile) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVersionSelectionIntegrationTest.groovy

                rootProject.name = 'test'
                gradle.rootProject {
                    configurations.create('default')
                    group = 'test'
                    version = '1.0'
                    def jar = tasks.create("jar_$version", Jar) {
                        archiveBaseName = "test"
                        destinationDirectory = buildDir
                        archiveVersion = project.version
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/text/template/parse/parse_test.go

    		hasError, `unclosed3:4: unclosed action started at unclosed3:2`},
    	{"unclosed4",
    		"{{\n\n\n\n\n",
    		hasError, `unclosed4:6: unclosed action started at unclosed4:1`},
    	{"var1",
    		"line1\n{{\nx\n}}",
    		hasError, `var1:3: function "x" not defined`},
    	// Specific errors.
    	{"function",
    		"{{foo}}",
    		hasError, `function "foo" not defined`},
    	{"comment1",
    		"{{/*}}",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top