Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 8,695 for FUNC (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/types/testdata/examples/inference2.go

    }
    
    func _() (_, _ func(int)) { return f1, f1 }
    func _() (_, _ func(int)) { return f1, f2 /* ERROR "cannot infer P" */ }
    
    // Argument passing
    func g1(func(int))                           {}
    func g2(func(int, int))                      {}
    func g3(func(int) string)                    {}
    func g4[P any](func(P) string)               {}
    func g5[P, Q any](func(P) string, func(P) Q) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 12 18:44:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/cgo_test.go

    func Test4339(t *testing.T)                  { test4339(t) }
    func Test5227(t *testing.T)                  { test5227(t) }
    func Test5242(t *testing.T)                  { test5242(t) }
    func Test5337(t *testing.T)                  { test5337(t) }
    func Test5548(t *testing.T)                  { test5548(t) }
    func Test5603(t *testing.T)                  { test5603(t) }
    func Test5986(t *testing.T)                  { test5986(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_loong64.go

    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func Or32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func And64(ptr *uint64, val uint64) uint64
    
    //go:noescape
    func Or64(ptr *uint64, val uint64) uint64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mark_input_output_aliases.mlir

    // CHECK-NOT: tf.aliasing_output
    func.func @device_func_2(%arg0: tensor<i32>) -> tensor<i32> {
      func.return %arg0 : tensor<i32>
    }
    
    // CHECK-LABEL: func @skip_multiple_assigns_to_resource
    func.func @skip_multiple_assigns_to_resource(%arg0: !tf_res_f32, %arg1: !tf_res_f32) {
      %0 = "tf.ReadVariableOp"(%arg0) : (!tf_res_f32) -> tensor<f32>
      %1 = "tf.ReadVariableOp"(%arg1) : (!tf_res_f32) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top