Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for FUNC (0.12 sec)

  1. src/cmd/compile/internal/ir/func.go

    func (n *Func) editChildren(edit func(Node) Node)           { editNodes(n.Body, edit) }
    func (n *Func) editChildrenWithHidden(edit func(Node) Node) { editNodes(n.Body, edit) }
    
    func (f *Func) Type() *types.Type                { return f.Nname.Type() }
    func (f *Func) Sym() *types.Sym                  { return f.Nname.Sym() }
    func (f *Func) Linksym() *obj.LSym               { return f.Nname.Linksym() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/func.cc

    // Returns true iff the function's symbol is public.
    bool IsPublicFuncOp(func::FuncOp func_op) {
      return SymbolTable::getSymbolVisibility(&*func_op) ==
             SymbolTable::Visibility::Public;
    }
    
    }  // namespace
    
    func::FuncOp FindMainFuncOp(ModuleOp module_op) {
      if (const auto main_func_op = module_op.lookupSymbol<func::FuncOp>(
              kImportModelDefaultGraphFuncName);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 19 06:55:11 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/syscall/js/func.go

    func (c Func) Release() {
    	funcsMu.Lock()
    	delete(funcs, c.id)
    	funcsMu.Unlock()
    }
    
    // setEventHandler is defined in the runtime package.
    func setEventHandler(fn func() bool)
    
    func init() {
    	setEventHandler(handleEvent)
    }
    
    // handleEvent retrieves the pending event (window._pendingEvent) and calls the js.Func on it.
    // It returns true if an event was handled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/func.go

    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/func.h

    #define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_COMMON_FUNC_H_
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    
    namespace mlir::quant {
    
    // Returns a public `func::FuncOp` in `module_op` whose name matches either
    // `main` or `serving_default`. If `func::FuncOps` with both names exist, the
    // function with name "main" takes precedence. Returns null if no such a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 19 06:55:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/func.go

    // (Call typecheck.Func instead.)
    func tcFunc(n *ir.Func) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcFunc", n)(nil)
    	}
    
    	if name := n.Nname; name.Typecheck() == 0 {
    		base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name)
    		name.SetTypecheck(1)
    	}
    }
    
    // tcCall typechecks an OCALL node.
    func tcCall(n *ir.CallExpr, top int) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt

    # CHECK-DAG: func private @custom_embedding_matmul{{[0-9]*}}(){{.+}}tf._implements = #tf_type.func<@tensorflow.embedding_matmul, {key1 = 2 : i64, key2 = false}>, tf._original_func_name = "custom_embedding_matmul"}...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 20:09:54 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main(%arg0: tensor<10xi32>, %arg1: tensor<10xi32>) -> tensor<10xi32>
    attributes {tf.entry_function = {inputs = "foo,bar", outputs = "Add"}} {
      %graph = tf_executor.graph {
        // This node would be renamed to bar1 [note: if imported from TF graphdef this would not be possible]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        "func.return"(%arg0) : (tensor<i32>) -> ()
      }) {sym_name = "main_while_body_4225150", sym_visibility = "private", tf._input_shapes = [#tf_type.shape<>], tf.signature.is_stateful, function_type = (tensor<i32>) -> (tensor<i32>)} : () -> ()
      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/logic_test.go

    		f      func(int32) int32
    		golden func(int32) int32
    	}{
    		{"x|x", func(x int32) int32 { return x | x }, id},
    		{"x|0", func(x int32) int32 { return x | 0 }, id},
    		{"x|-1", func(x int32) int32 { return x | -1 }, func(x int32) int32 { return -1 }},
    		{"x&x", func(x int32) int32 { return x & x }, id},
    		{"x&0", func(x int32) int32 { return x & 0 }, zero},
    		{"x&-1", func(x int32) int32 { return x & -1 }, id},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top