Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for argTypes (0.27 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      auto guard = OpBuilder::InsertionGuard(builder);
      builder.setInsertionPointAfter(current_func);
      TypeRange arg_types{ValueRange{arguments}};
      TypeRange result_types{ValueRange{results}};
      auto func_type = FunctionType::get(context, arg_types, result_types);
    
      SmallVector<Location> arg_locs;
      for (Value arg : arguments) {
        arg_locs.push_back(arg.getLoc());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // shapes of these graph edges, so we just query it to build the corresponding
      // MLIR function type signature.
    
      llvm::SmallVector<mlir::Type, 4> arg_types;
      if (specs_.inputs.empty()) {
        arg_types.reserve(fbody.arg_types.size());
        for (auto arg : fbody.arg_nodes) {
          // Find node in the graph using the node id instead of using `arg`
          // directly because the graph has been cloned.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/cc/framework/cc_op_gen.cc

      const string prefix = strings::StrCat(op_name_prefix, op_info.op_name, "(");
      string c_decl;
      for (int i = 0; i < op_info.arg_types.size(); ++i) {
        if (i > 0) strings::StrAppend(&c_decl, ", ");
        strings::StrAppend(&c_decl, op_info.arg_types[i], " ",
                           op_info.arg_names[i]);
      }
      if (include_attr && op_info.has_optional_attrs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 17:22:47 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top