Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for new_args (0.35 sec)

  1. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      // the argument indices.
      int variable_start_index = num_args;
      for (int i = 0; i < num_args; ++i) {
        int index;
        TF_RETURN_IF_ERROR(GetIndexAttr(*args[i], num_args, &index));
        if (args[i]->output_type(0) == DT_RESOURCE &&
            variable_start_index == num_args) {
          variable_start_index = i;
        }
        (*input_permutation)[index] = i;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

            assertMutable("create(String)");
            return doCreate(name, DefaultTask.class, NO_ARGS, Actions.doNothing());
        }
    
        @Override
        public Task create(String name, Action<? super Task> configureAction) throws InvalidUserDataException {
            assertMutable("create(String, Action)");
            return doCreate(name, DefaultTask.class, NO_ARGS, configureAction);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/gc.go

    func toolVerify(a *Action, b *Builder, p *load.Package, newTool string, ofile string, args []any) error {
    	newArgs := make([]any, len(args))
    	copy(newArgs, args)
    	newArgs[1] = base.Tool(newTool)
    	newArgs[3] = ofile + ".new" // x.6 becomes x.6.new
    	if err := b.Shell(a).run(p.Dir, p.ImportPath, nil, newArgs...); err != nil {
    		return err
    	}
    	data1, err := os.ReadFile(ofile)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/superTypes/KtSuperTypesCallArgumentsRenderer.kt

            analysisSession: KaSession,
            type: KaType,
            symbol: KaClassOrObjectSymbol,
            declarationRenderer: KaDeclarationRenderer,
            printer: PrettyPrinter,
        )
    
        public object NO_ARGS : KaSuperTypesCallArgumentsRenderer {
            override fun renderSuperTypeArguments(
                analysisSession: KaSession,
                type: KaType,
                symbol: KaClassOrObjectSymbol,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/go/types/assignments.go

    				hasErr = true
    			}
    			continue
    		}
    
    		// declare new variable
    		obj := NewVar(ident.Pos(), check.pkg, name, nil)
    		lhsVars[i] = obj
    		if name != "_" {
    			newVars = append(newVars, obj)
    		}
    		check.recordDef(ident, obj)
    	}
    
    	// create dummy variables where the lhs is invalid
    	for i, obj := range lhsVars {
    		if obj == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

        Example:
          %out_ch = tfrt_fallback_async.createop(%in_ch) key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
        TFRT_ChainType:$in_ch,
        I64Attr:$num_args,
        StrAttr:$device,
        ArrayAttr:$op_attrs,
        // TODO(b/173025975): consider using DictionaryAttr after we support
        // BEF conversion for this type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/fallback.mlir

    // CHECK-SAME: sparse_types = [!corert.string, i64]}
    // CHECK-SAME: num_args(7)
    
    // CHECK: tfrt_fallback_async.createop(%0) key(1) device("/device:CPU:0") "tf.ReadVariableOp"() {dtype = f32} num_args(1)
    
    // CHECK: tfrt_fallback_async.createop(%1) key(2) device("/device:CPU:0") "tf.MatMul"() {T = f32, transpose_a = false, transpose_b = false} num_args(2)
    
    // CHECK-LABEL: func @main
    // CHECK-SAME: {{.*}} !tfrt.chain
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/syscall/mksyscall.pl

    if($extraimports ne "") {
        $stdimports .= "\n$extraimports";
    }
    
    # TODO: this assumes tags are just simply comma separated. For now this is all the uses.
    $newtags = $tags =~ s/,/ && /r;
    
    print <<EOF;
    // $cmdline
    // Code generated by the command above; DO NOT EDIT.
    
    //go:build $newtags
    
    package syscall
    
    $stdimports
    
    $text
    EOF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

          func.front().getTerminator()->eraseOperand(result_idx);
      }
    
      // Check which function arguments are unused in all branches. We can drop
      // those as well.
      int num_args = cloned_branches[0].getNumArguments();
      llvm::BitVector used_args(num_args);
      for (func::FuncOp func : branches) {
        for (BlockArgument arg : func.getArguments()) {
          if (!arg.use_empty()) used_args.set(arg.getArgNumber());
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen.cc

                         const CompileResult& compile_result, string* methods) {
      const int num_args = ps.parameters_size();
      // feed_size() + variable_size() is the maximum number of args as an
      // implementation may not create an argument for an unused variable.
      if (config.feed_size() + config.variable_size() < num_args) {
        return errors::InvalidArgument(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top