Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for function_type (0.19 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/ir/tf_ops_n_z.cc

      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) {
        return op.emitError() << "argument count mismatch: 'args' has " << 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)
Back to top