- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,335 for FUNC (0.16 sec)
-
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
func.func @convert(%arg0: tensor<2xi32>) -> tensor<2xf32> { // CHECK: mhlo.convert %arg0 : (tensor<2xi32>) -> tensor<2xf32> %0 = "tf.Cast"(%arg0) {Truncate = false} : (tensor<2xi32>) -> tensor<2xf32> func.return %0 : tensor<2xf32> } // CHECK-LABEL: func @constant func.func @constant(%arg0: tensor<f32>) -> tensor<f32> { // CHECK: %[[ONE:.*]] = mhlo.constant dense<1.000000e+00> : tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0) -
test/inline.go
// any re-assignment prevents closure inlining func m() int { foo := func() int { return 1 } // ERROR "can inline m.func1" "func literal does not escape" x := foo() foo = func() int { return 2 } // ERROR "can inline m.func2" "func literal does not escape" return x + foo() } // address taking prevents closure inlining func n() int { foo := func() int { return 1 } // ERROR "can inline n.func1" "func literal does not escape" bar := &foo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.7K bytes - Viewed (0) -
src/go/printer/testdata/declarations.golden
// ellipsis parameters func _(...int) func _(...*int) func _(...[]int) func _(...struct{}) func _(bool, ...interface{}) func _(bool, ...func()) func _(bool, ...func(...int)) func _(bool, ...map[string]int) func _(bool, ...chan int) func _(b bool, x ...int) func _(b bool, x ...*int) func _(b bool, x ...[]int) func _(b bool, x ...struct{}) func _(x ...interface{}) func _(x ...func())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir
func.return %0 : tensor<4xcomplex<f64>> } func.func @f16() -> tensor<4xf16> { // CHECK-LABEL: @f16 // CHECK: value = dense<[1.000000e+00, 2.000000e+00, 3.000000e+00, 4.000000e+00]> : tensor<4xf16> %0 = "tfl.pseudo_const"() { value = dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf16> } : () -> tensor<4xf16> func.return %0 : tensor<4xf16> } func.func @f32() -> tensor<4xf32> { // CHECK-LABEL: @f32
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_resource_partitioning.mlir
%2 = "tf_device.cluster_func"(%1) {func = @computation} : (tensor<i32>) -> tensor<i32> func.return %1 : tensor<i32> } // CHECK-LABEL: func @non_resource_read_input_write_output func.func @non_resource_read_input_write_output(%arg0: tensor<i32>) -> tensor<i32> { // CHECK-NOT: tf.TPUPartitionedInputV2 %0 = "tf_device.cluster_func"(%arg0) {func = @computation} : (tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 15.7K bytes - Viewed (0) -
src/internal/types/testdata/check/typeparams.go
func _[T [10]byte]() { f := func() (x *T) { return }; f /* ERROR "cannot index" */ ()[0] = 0 } func _[T [10]byte]() { f := func() (x *T) { return }; (*f())[0] = 0 } func _[T *[10]byte]() { f := func() (x T) { return }; f()[0] = 0 } // slicing func _[T interface{ ~[10]E }, E any] (x T, i, j, k int) { var _ []E = x[i:j] } func _[T interface{ ~[10]E }, E any] (x T, i, j, k int) { var _ []E = x[i:j:k] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:56:58 UTC 2023 - 15.2K bytes - Viewed (0) -
test/newinline.go
} // any re-assignment prevents closure inlining func m() int { foo := func() int { return 1 } // ERROR "can inline m.func1" "func literal does not escape" x := foo() foo = func() int { return 2 } // ERROR "can inline m.func2" "func literal does not escape" return x + foo() } // address taking prevents closure inlining func n() int { // ERROR "can inline n"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
src/go/ast/ast.go
func (*TypeAssertExpr) exprNode() {} func (*CallExpr) exprNode() {} func (*StarExpr) exprNode() {} func (*UnaryExpr) exprNode() {} func (*BinaryExpr) exprNode() {} func (*KeyValueExpr) exprNode() {} func (*ArrayType) exprNode() {} func (*StructType) exprNode() {} func (*FuncType) exprNode() {} func (*InterfaceType) exprNode() {} func (*MapType) exprNode() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_amd64.go
func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { _, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen)) if e1 != 0 { err = errnoErr(e1) } return } func libc_bind_trampoline() //go:cgo_import_dynamic libc_bind bind "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.4K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_arm64.go
func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { _, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen)) if e1 != 0 { err = errnoErr(e1) } return } func libc_bind_trampoline() //go:cgo_import_dynamic libc_bind bind "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.4K bytes - Viewed (0)