Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,651 for _func (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/convert_launch_func_to_tf_call.mlir

          // CHECK: tf_executor.yield %[[CALL_OUTPUT_1]]
          tf_executor.yield %4 : tensor<?xf32>
        }
        tf_executor.fetch %1#0 : tensor<?xf32>
      }
      func.return %0 : tensor<?xf32>
    }
    
    func.func @_func(%arg0: tensor<?xf32>) -> tensor<?xf32> {
      func.return %arg0 : tensor<?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/symtab.go

    }
    
    func (f *Func) raw() *_func {
    	return (*_func)(unsafe.Pointer(f))
    }
    
    func (f *Func) funcInfo() funcInfo {
    	return f.raw().funcInfo()
    }
    
    func (f *_func) funcInfo() funcInfo {
    	// Find the module containing fn. fn is located in the pclntable.
    	// The unsafe.Pointer to uintptr conversions and arithmetic
    	// are safe because we are working with module addresses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir

      return %0 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: @_func
    func.func private @_func(%arg0: tensor<1x3xf32>) -> (tensor<1x3xf32>) {
      return %arg0 : tensor<1x3xf32>
    }
    }
    
    
    // -----
    // SPMD: one input and no return
    //
    // CHECK-LABEL: func.func @serving_default(%arg0: tensor<1x3xf32>) {
    // CHECK-NEXT:  "tf.IfrtCall"(%arg0)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 17 07:28:40 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_input_dialect_to_executor_pass_test.mlir

    // -----
    
    // CHECK-LABEL: func @testNoClusterFuncOpPasses
    func.func @testNoClusterFuncOpPasses(%arg0: tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> {
      %0 = "tf.Identity"(%arg0) : (tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string>
      func.return %0 : tensor<4x2x!tf_type.string>
    }
    
    // -----
    
    func.func @_func(%arg0: tensor<i32>) -> tensor<i32> {
      func.return %arg0 : tensor<i32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 22:07:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/internal/types/testdata/spec/assignability.go

    	_Pointer   = *int
    	_Func      = func(x int) string
    	_Interface = interface{ m() int }
    	_Map       = map[string]int
    	_Chan      = chan int
    
    	Basic     _Basic
    	Array     _Array
    	Slice     _Slice
    	Struct    _Struct
    	Pointer   _Pointer
    	Func      _Func
    	Interface _Interface
    	Map       _Map
    	Chan      _Chan
    	Defined   _Struct
    )
    
    func (Defined) m() int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir

      func.func @main() {
    // CHECK: arith.constant
    // CHECK: TPUCompile
    // CHECK: TPUExecute
    // CHECK-NOT: func @_func
        tf_executor.graph {
          %outputs, %control = tf_executor.island wraps "arith.constant"() {value = dense<2.000000e+00> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        func.return
      }
      // CHECK-LABEL: func @while_body_2710
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/tokens.go

    	_Chan        // chan
    	_Const       // const
    	_Continue    // continue
    	_Default     // default
    	_Defer       // defer
    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/printer.go

    func groupFor(d Decl) (token, *Group) {
    	switch d := d.(type) {
    	case *ImportDecl:
    		return _Import, d.Group
    	case *ConstDecl:
    		return _Const, d.Group
    	case *TypeDecl:
    		return _Type, d.Group
    	case *VarDecl:
    		return _Var, d.Group
    	case *FuncDecl:
    		return _Func, nil
    	default:
    		panic("unreachable")
    	}
    }
    
    type printGroup struct {
    	node
    	Tok   token
    	Decls []Decl
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        func.return
      }
      func.func @empty_func() {
        func.return
      }
    }
    
    // -----
    
    // Tests `tf_device.cluster_func` with bad `num_cores_per_replicas` attribute.
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      func.func @bad_num_cores_per_replica() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
Back to top