Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FunctionType (0.21 sec)

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

    }
    
    // FunctionType is a function type.
    type FunctionType struct {
    	Return AST
    	Args   []AST
    
    	// The forLocalName field reports whether this FunctionType
    	// was created for a local name. With the default GNU demangling
    	// output we don't print the return type in that case.
    	ForLocalName bool
    }
    
    func (ft *FunctionType) print(ps *printState) {
    	retType := ft.Return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

              .replaceAllUsesWith(
                  builder.clone(*operand.getDefiningOp())->getResult(0));
        }
      }
    
      // Update/use input shapes for function.
      FunctionType func_type = func.getFunctionType();
      func.setType(FunctionType::get(func.getContext(), op.getOperandTypes(),
                                     func_type.getResults()));
    
      // Run shape inference on the function.
      if (failed(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // unranked tensors and could be ranked tensors in cases where result type
      // depends on an op with static output shape like tf.Const.
      absl::StatusOr<mlir::FunctionType> InferLibFunctionType(
          const FunctionBody& fbody);
    
      // Extracts arg and ret nodes from FunctionBody.
      void GetArgsAndRetsFromFunctionBody(
          const FunctionBody& fbody,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        SymbolTableCollection& symbol_table, Operation* op,
        ArrayRef<Attribute> branches,
        llvm::function_ref<std::string(unsigned branch_index)> branch_name) {
      SmallVector<FunctionType, 2> branch_types;
      branch_types.reserve(branches.size());
    
      if (llvm::any_of(op->getOperands(),
                       [](Value value) { return value == nullptr; }))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

          auto scalar = RankedTensorType::get({}, input_type.getElementType());
          expected_callee_input_types.push_back(scalar);
          expected_callee_input_types.push_back(scalar);
        }
        FunctionType expected_callee_type = mlir::FunctionType::get(
            op->getContext(), expected_callee_input_types,
            RankedTensorType::get({}, IntegerType::get(op->getContext(), 1)));
        if (callee_type != expected_callee_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      auto function = symbolTable.lookupNearestSymbolFrom<func::FuncOp>(op, func);
      if (!function) {
        return op.emitError("'f' attribute refers to an undefined function: ")
               << func;
      }
    
      FunctionType function_ty = function.getFunctionType();
      int func_arg_count = function_ty.getNumInputs();
      int arg_count = op.getArgs().size();
    
      if (arg_count != func_arg_count) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    </p>
    
    <pre class="ebnf">
    Type      = TypeName | TypeLit | "(" Type ")" .
    TypeName  = identifier | QualifiedIdent .
    TypeLit   = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
    	    SliceType | MapType | ChannelType .
    </pre>
    
    <p>
    The language <a href="#Predeclared_identifiers">predeclares</a> certain type names.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top