Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for argTypes (0.22 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                Class[] classes = new Class[arguments.length];
                for (int i = 0; i < arguments.length; i++) {
                    Object argType = arguments[i];
                    if (argType == null) {
                        classes[i] = null;
                    } else {
                        classes[i] = argType.getClass();
                    }
                }
                return classes;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/cc_op_gen_util.cc

      op_name = SeparateNamespaces(api_def.endpoint(0).name());
      InferOpAttributes(graph_op_def, &inferred_input_attrs);
      has_optional_attrs = HasOptionalAttrs(api_def, inferred_input_attrs);
      arg_types.push_back("const ::tensorflow::Scope&");
      arg_names.push_back("scope");
    
      if (graph_op_def.has_deprecation()) {
        if (!api_def.summary().empty()) {
          comment = strings::StrCat(api_def.summary(), "\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/jit/encapsulate_subgraphs_pass.cc

                BackwardsConstAnalysis(**subgraph, &const_args,
                                       /*compile_time_const_nodes=*/nullptr, flr));
    
            DataTypeVector arg_types(num_args);
            TF_RETURN_IF_ERROR(GetArgTypes(**subgraph, &arg_types));
    
            // Compute a permutation of the arguments such that the constant
            // arguments are first.
            const int num_consts =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

                                  func::FuncOp entry_func_op,
                                  TF::XlaCallModuleOp xla_call_module_op) {
      SmallVector<Type> arg_types;
      SmallVector<Location> arg_locs;
      for (const Value arg : xla_call_module_op.getArgs()) {
        arg_types.push_back(arg.getType());
        arg_locs.push_back(arg.getLoc());
      }
    
      SmallVector<Type> output_types;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. src/text/template/exec.go

    		}
    		return v
    	}
    
    	// Special case for builtin and/or, which short-circuit.
    	if isBuiltin && (name == "and" || name == "or") {
    		argType := typ.In(0)
    		var v reflect.Value
    		for _, arg := range args {
    			v = s.evalArg(dot, argType, arg).Interface().(reflect.Value)
    			if truth(v) == (name == "or") {
    				// This value was already unwrapped
    				// by the .Interface().(reflect.Value).
    				return v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                    for (int typeVar = addNameParameter ? 1 : 0, stackVar = addNameParameter ? 2 : 1; typeVar < paramTypes.size(); ++typeVar) {
                        Type argType = paramTypes.get(typeVar);
                        _ILOAD_OF(argType, stackVar);
                        stackVar += argType.getSize();
                    }
                    _INVOKESPECIAL(superclassType, "<init>", superMethodDescriptor);
    
                    if (addNameParameter) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

    };
    
    // Updates func's type according to its current arguments and return values.
    void UpdateFuncType(func::FuncOp func) {
      llvm::SmallVector<Type, 8> arg_types;
      for (auto arg : func.getArguments()) arg_types.push_back(arg.getType());
      func.setType(
          FunctionType::get(func.getContext(), arg_types,
                            func.front().getTerminator()->getOperandTypes()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/kernels/xla_ops.cc

      OP_REQUIRES_OK_RETURN(ctx, std::vector<int>(),
                            ctx->GetAttr("Tconstants", &constant_types));
    
      DataTypeVector arg_types;
      OP_REQUIRES_OK_RETURN(ctx, std::vector<int>(),
                            ctx->GetAttr("Targs", &arg_types));
    
      int num_resources;
      OP_REQUIRES_OK_RETURN(ctx, std::vector<int>(),
                            ctx->GetAttr("Nresources", &num_resources));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

        ret_operands.push_back(operand->getValue());
      }
      builder_.create<func::ReturnOp>(func_.getLoc(), ret_operands);
    
      auto arg_types = body.getArgumentTypes();
      auto result_types = body.getTerminator()->getOperandTypes();
      func_.setType(FunctionType::get(func_.getContext(), arg_types, result_types));
      *f = new MlirFunction(std::move(context_), std::move(module_), func_);
      return absl::OkStatus();
    }
    
    extern "C" {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

    };
    
    // Updates func argument type to have the updated input shape.
    void UpdateFuncType(func::FuncOp func) {
      auto arg_types = func.front().getArgumentTypes();
      auto result_types = func.front().getTerminator()->getOperandTypes();
      func.setType(FunctionType::get(func.getContext(), arg_types, result_types));
    }
    
    void HandleFuncOp(Operation* op) {
      auto func = llvm::cast<func::FuncOp>(op);
      UpdateFuncType(func);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top