Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for rename_to (0.13 sec)

  1. tensorflow/cc/framework/cc_op_gen.cc

        const auto& api_def_arg(op_info.api_def.in_arg(i));
        strings::StrAppend(
            &body, "  auto _", api_def_arg.rename_to(), " = ::tensorflow::ops::",
            ArgIsList(arg) ? "AsNodeOutList" : "AsNodeOut", "(", scope_str, ", ",
            AvoidCPPKeywords(api_def_arg.rename_to()), ");\n");
        strings::StrAppend(&body, "  ", return_on_error, "\n");
      }
    
      strings::StrAppend(&body, "  ::tensorflow::Node* ret;\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.cc

        arg_names.push_back(AvoidCPPKeywords(api_def_arg.rename_to()));
    
        // TODO(keveman): Include input type information.
        StringPiece description = api_def_arg.description();
        if (!description.empty()) {
          ConsumeEquals(&description);
          strings::StrAppend(&comment, "* ",
                             AvoidCPPKeywords(api_def_arg.rename_to()), ": ",
                             api_def_arg.description(), "\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        else:
          return self.name.lower()
    
    
    _ATTRIBUTE_TYPES = (
        TFRTypes.I1, TFRTypes.I32, TFRTypes.I64, TFRTypes.F32, TFRTypes.INDEX,
        TFRTypes.ATTR
        )
    
    # TODO(b/203493652): implement the "rename_to" for the customization in
    # tensorflow/core/api_def/base_api/*
    # {op_name: {API's attribute name: OpDef's attribute name}}
    _ATTRIBUTE_RENAMES = {
        'Mean': {'axis': 'reduction_indices'},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_riscv64.go

    //sys	Shutdown(fd int, how int) (err error)
    //sys	Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)
    
    func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
    	return renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
    }
    
    func Stat(path string, stat *Stat_t) (err error) {
    	return fstatat(_AT_FDCWD, path, stat, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractPathSensitivityIntegrationSpec.groovy

                }
            """
    
            when:
            execute "test"
            then:
            result.assertTaskNotSkipped(":test")
    
            when:
            assert file("sources/input.txt").renameTo(file("sources/input-renamed.txt"))
    
            cleanWorkspace()
    
            execute "test"
            then:
            result.groupedOutput.task(":test").outcome == expectedOutcome
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsKotlinDSLIntegrationTest.groovy

                        create("otherLibs") {
                            plugin("$alias", "com.acme.greeter").version("1.5")
                        }
                    }
                }
            """
            buildFile.renameTo(file('fixture.gradle'))
            buildKotlinFile << """
                plugins {
                    alias(otherLibs.plugins.${alias.replace('-', '.')})
                }
    
                apply(from="fixture.gradle")
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

                  SmbFile f2 = new SmbFile(defaultShareRoot, makeRandomName()) ) {
                f.createNewFile();
                boolean renamed = false;
                try {
                    f.renameTo(f2);
                    try {
                        assertTrue(f2.exists());
                        renamed = true;
                    }
                    finally {
                        f2.delete();
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go

    	rsa.Service_name_len = uint64(length)
    }
    
    func Pause() error {
    	_, err := ppoll(nil, 0, nil, nil)
    	return err
    }
    
    func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
    	return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
    }
    
    //sys	kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoReportRelocationIntegrationTest.groovy

                jacocoTestReport.executionData.from = files("build/jacoco.exec")
            """
            file("build/classes/test").assertIsDir().renameTo(file("build/test-classes"))
            file("build/jacoco/test.exec").assertIsFile().renameTo(file("build/jacoco.exec"))
        }
    
        @Override
        protected void removeResults() {
            file("build/reports/jacoco").assertIsDir().deleteDir()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/cmd/fix/gotypes.go

    	exists := renameTop(f, "constant", "constant")
    	suffix := ""
    	if exists {
    		suffix = "_"
    	}
    	// Now we need to rename all the uses of the import. RewriteImport
    	// affects renameTop, but not vice versa, so do them in this order.
    	renameTop(f, "exact", "constant"+suffix)
    	rewriteImport(f, "golang.org/x/tools/go/exact", "go/constant")
    	// renameTop will also rewrite the imported package name. Fix that;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top