Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 261 for defs (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/BUILD

        tbl_outs = [
            (
                ["-gen-op-decls"],
                "tfrt_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "tfrt_ops.cc.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "tfrt_ops.td",
        deps = [
            ":tensorflow_tfrt_ops_td_files",
        ],
    )
    
    cc_library(
        name = "tensorflow_tfrt_ops",
        srcs = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 29 02:59:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/force_xla_constants_on_host_pass.cc

      for (Node* node : graph->nodes()) {
        if (CanCreateXlaKernel(node->def())) {
          const FunctionBody* fbody = nullptr;
          std::vector<int> constant_arg_indices;
          std::vector<int> resource_arg_indices;
    
          NameAttrList function;
          TF_RETURN_IF_ERROR(NameAndAttrsFromFunctionCall(node->def(), &function));
    
          // Force all constants to be on the host memory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/go/types/example_test.go

    	// Type-check the package.
    	// We create an empty map for each kind of input
    	// we're interested in, and Check populates them.
    	info := types.Info{
    		Types: make(map[ast.Expr]types.TypeAndValue),
    		Defs:  make(map[*ast.Ident]types.Object),
    		Uses:  make(map[*ast.Ident]types.Object),
    	}
    	var conf types.Config
    	pkg, err := conf.Check("fib", fset, []*ast.File{f}, &info)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. WORKSPACE

    load("@python_version_repo//:py_version.bzl", "TF_PYTHON_VERSION")
    
    python_register_toolchains(
        name = "python",
        ignore_root_user_error = True,
        python_version = TF_PYTHON_VERSION,
    )
    
    load("@python//:defs.bzl", "interpreter")
    load("@rules_python//python:pip.bzl", "package_annotation", "pip_parse")
    
    NUMPY_ANNOTATIONS = {
        "numpy": package_annotation(
            additive_build_content = """\
    filegroup(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 22:27:48 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go

    		if f != nil && fnDecls == nil {
    			fnDecls = make(map[*types.Func]*ast.FuncDecl)
    			for _, file := range files {
    				for _, decl := range file.Decls {
    					if fnDecl, ok := decl.(*ast.FuncDecl); ok {
    						if fn, ok := info.Defs[fnDecl.Name].(*types.Func); ok {
    							fnDecls[fn] = fnDecl
    						}
    					}
    				}
    			}
    		}
    		// TODO: set f = f.Origin() here.
    		return fnDecls[f]
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/go/types/self_test.go

    		conf := Config{
    			IgnoreFuncBodies: ignoreFuncBodies,
    			Importer:         importer.Default(),
    		}
    		var info *Info
    		if writeInfo {
    			info = &Info{
    				Types:      make(map[ast.Expr]TypeAndValue),
    				Defs:       make(map[*ast.Ident]Object),
    				Uses:       make(map[*ast.Ident]Object),
    				Implicits:  make(map[ast.Node]Object),
    				Selections: make(map[*ast.SelectorExpr]*Selection),
    				Scopes:     make(map[ast.Node]*Scope),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

      bool found = false;
      for (Node* node : graph->nodes()) {
        if (CanCreateXlaKernel(node->def())) {
          EXPECT_FALSE(found);
          found = true;
          std::vector<int32> hostmem_attr;
          EXPECT_TRUE(TryGetNodeAttr(node->def(), "_input_hostmem", &hostmem_attr));
          EXPECT_EQ(hostmem_attr.size(), 1);
          EXPECT_EQ(hostmem_attr[0], 1);
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/self_test.go

    		conf := Config{
    			IgnoreFuncBodies: ignoreFuncBodies,
    			Importer:         defaultImporter(),
    		}
    		var info *Info
    		if writeInfo {
    			info = &Info{
    				Types:      make(map[syntax.Expr]TypeAndValue),
    				Defs:       make(map[*syntax.Name]Object),
    				Uses:       make(map[*syntax.Name]Object),
    				Implicits:  make(map[syntax.Node]Object),
    				Selections: make(map[*syntax.SelectorExpr]*Selection),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/internal/types/errors/generrordocs.go

    	if err != nil {
    		log.Fatalf("ParseFile failed: %s", err)
    	}
    	conf := Config{Importer: importer.Default()}
    	info := &Info{
    		Types: make(map[ast.Expr]TypeAndValue),
    		Defs:  make(map[*ast.Ident]Object),
    		Uses:  make(map[*ast.Ident]Object),
    	}
    	_, err = conf.Check("types", fset, []*ast.File{file}, info)
    	if err != nil {
    		log.Fatalf("Check failed: %s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:14:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy

    )
    
    load("@rules_jvm_external//:defs.bzl", "maven_install")
    
    maven_install(
        artifacts = [
    
        ],
        repositories = [
            "https://repo.maven.apache.org/maven2/"
        ],
    )
    """
        }
    
        String generateBuildFile(Integer subProjectNumber, DependencyTree dependencyTree) {
            def isRoot = subProjectNumber == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top