Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for funcType (0.23 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	}
    
    	ft = simplify(ft)
    
    	// For a local name, discard the return type, so that it
    	// doesn't get confused with the top level return type.
    	if local == forLocalName {
    		if functype, ok := ft.(*FunctionType); ok {
    			functype.ForLocalName = true
    		}
    	}
    
    	// Any top-level qualifiers belong to the function type.
    	if mwq != nil {
    		a = mwq.Method
    		mwq.Method = ft
    		ft = mwq
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf.go

    	// Needed by the prettyprinter code for interface inspection.
    	for _, typ := range []string{
    		"type:internal/abi.Type",
    		"type:internal/abi.ArrayType",
    		"type:internal/abi.ChanType",
    		"type:internal/abi.FuncType",
    		"type:internal/abi.MapType",
    		"type:internal/abi.PtrType",
    		"type:internal/abi.SliceType",
    		"type:internal/abi.StructType",
    		"type:internal/abi.InterfaceType",
    		"type:internal/abi.ITab",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		}
    
    		// scope descriptions must match
    		for node, scope := range info.Scopes {
    			var kind string
    			switch node.(type) {
    			case *syntax.File:
    				kind = "file"
    			case *syntax.FuncType:
    				kind = "func"
    			case *syntax.BlockStmt:
    				kind = "block"
    			case *syntax.IfStmt:
    				kind = "if"
    			case *syntax.SwitchStmt:
    				kind = "switch"
    			case *syntax.SelectStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    		}
    
    		// scope descriptions must match
    		for node, scope := range info.Scopes {
    			kind := "<unknown node kind>"
    			switch node.(type) {
    			case *ast.File:
    				kind = "file"
    			case *ast.FuncType:
    				kind = "func"
    			case *ast.BlockStmt:
    				kind = "block"
    			case *ast.IfStmt:
    				kind = "if"
    			case *ast.SwitchStmt:
    				kind = "switch"
    			case *ast.TypeSwitchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      int func_index = 0;
      for (func::FuncOp func : {op.cond_function(), op.body_function()}) {
        ++func_index;
        if (!func) continue;
    
        FunctionType func_type = func.getFunctionType();
        int num_inputs = func_type.getNumInputs();
        int num_results = func_type.getNumResults();
    
        // For each argument type in function's arguments, change it to uranked
        // tensor type if it's a variant type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        elif isinstance(node.op, ast.And):
          raise NotImplementedError('And operator not recognized')
    
      def visit_Call(self, node):
        func_name, func_type = self.visit(node.func)
        func_type = self._get_inferred_type(node.func, func_type)
        if func_type == TFRTypes.AG_BUILTIN_FUNC:
          if func_name == 'if_stmt':
            cond, _ = self.visit(node.args[0])
            body, _ = self.visit(node.args[1])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      Append(result_types, callers.core_tpu->getResultTypes());
    
      // Create the function based on input and result types and values.
      auto func_type =
          mlir::FunctionType::get(builder.getContext(), input_types, result_types);
      func::FuncOp then_func = func::FuncOp::create(loc, name, func_type);
      then_func.setPrivate();
      symbol_table.insert(then_func);
      mlir::OpBuilder func_builder =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        OpBuilder builder(module_);
        builder.setInsertionPointToEnd(&module_.getBodyRegion().back());
        const auto func_type =
            builder.getFunctionType(/*inputs=*/{}, /*results=*/{});
        auto summary_func = builder.create<func::FuncOp>(
            builder.getUnknownLoc(), /*sym_name=*/"summary", func_type);
        summary_func.setPrivate();
        summary_func->setAttr("quantization_summary",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

          return type_or_err.status();
        }
        auto type = std::move(type_or_err).value();
        ret_types.push_back(type);
      }
      auto func_type = builder.getFunctionType(input_types, ret_types);
    
      // Construct function object
      auto func = FuncOp::create(func_loc, name, func_type, /* attrs= */ {});
      func.addEntryBlock();
      auto& body = func.getBody();
      OpBuilder op_builder{body};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      output_types.reserve(outputs.size());
      for (Value v : outputs) output_types.emplace_back(v.getType());
    
      auto func_type = builder->getFunctionType(operand_types, output_types);
    
      FuncOp outlined_func =
          FuncOp::create(ops.front()->getLoc(), kHostFunctionAttr, func_type);
    
      // Create function body.
      Block* outlined_func_block = outlined_func.addEntryBlock();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
Back to top