- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,335 for FUNC (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir
// RUN: tf-opt %s | tf-opt | FileCheck %s // CHECK-LABEL: func private @control_type() -> !tf_executor.control func.func private @control_type() -> !tf_executor.control // CHECK-LABEL: func private @token_type() -> !tf_executor.token func.func private @token_type() -> !tf_executor.token // CHECK-LABEL: func @empty_graph func.func @empty_graph() { tf_executor.graph { } func.return // CHECK: tf_executor.graph {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 25.8K bytes - Viewed (0) -
src/runtime/race/testdata/chan_test.go
go func() { v = 1 c <- 0 }() <-c v = 2 } func TestRaceChanAsyncRev(t *testing.T) { v := 0 _ = v c := make(chan int, 10) go func() { c <- 0 v = 1 }() v = 2 <-c } func TestNoRaceChanAsyncCloseRecv(t *testing.T) { v := 0 _ = v c := make(chan int, 10) go func() { v = 1 close(c) }() func() { defer func() { recover()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir
func.return %0 : tensor<2xf32> } // ----- // If with no outputs, some inputs // CHECK: func private @testIf1Then{{.+}} // CHECK: func private @testIf1Else{{.+}} func.func private @testIf1Then(tensor<*xf32>) -> () func.func private @testIf1Else(tensor<*xf32>) -> () // CHECK-LABEL: func @testIfNoResult(%arg0: tensor<i1>, %arg1: tensor<2xf32>) func.func @testIfNoResult(%arg0: tensor<i1>, %arg1: tensor<2xf32>) -> () {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 06 21:59:28 UTC 2023 - 11.9K bytes - Viewed (0) -
src/go/parser/short_test.go
`package p;`, `package p; import "fmt"; func f() { fmt.Println("Hello, World!") };`, `package p; func f() { if f(T{}) {} };`, `package p; func f() { _ = <-chan int(nil) };`, `package p; func f() { _ = (<-chan int)(nil) };`, `package p; func f() { _ = (<-chan <-chan int)(nil) };`, `package p; func f() { _ = <-chan <-chan <-chan <-chan <-int(nil) };`, `package p; func f(func() func() func());`, `package p; func f(...T);`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.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) -
test/escape2.go
return x } } func foo23a(x int) func() int { f := func() int { // ERROR "func literal escapes to heap$" return x } return f } func foo23b(x int) *(func() int) { f := func() int { return x } // ERROR "func literal escapes to heap$" "moved to heap: f$" return &f } func foo23c(x int) func() int { // ERROR "moved to heap: x$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
func.return %1 : tensor<5xi64> } // CHECK-LABEL: func @testEmptyFloat func.func @testEmptyFloat() -> (tensor<5xf64>) { %0 = "tf.Const"() { value = dense<5> : tensor<i32> } : () -> tensor<i32> // CHECK: [[VAL:%.+]] = "tf.Const"() <{value = dense<0.000000e+00> : tensor<5xf64>}> // CHECK: return [[VAL]] %1 = "tf.Empty"(%0) : (tensor<i32>) -> (tensor<5xf64>) func.return %1 : tensor<5xf64> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir
func.func private @f_callee_callee(%arg0: tensor<*x!tf_type.resource>) -> tensor<0xf32> { %0 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_callee_callee} : (tensor<*x!tf_type.resource>) -> (tensor<0xf32>) func.return %0 : tensor<0xf32> } } // ----- // Test If Region immutable case. module {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir
// CHECK-LABEL: func @check_sharding_attrs_exists_for_empty_cluster_func func.func @check_sharding_attrs_exists_for_empty_cluster_func() { "tf_device.cluster_func"() {func = @empty_func, step_marker_location = "", num_cores_per_replica = 1 : i64} : () -> () // CHECK: input_sharding_configuration = [] // CHECK: output_sharding_configuration = [] func.return } // CHECK-LABEL: func @empty_func() { func.func @empty_func() { func.return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 19:07:52 UTC 2024 - 47.5K bytes - Viewed (0) -
src/testing/sub_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 21:27:08 UTC 2023 - 23.8K bytes - Viewed (0)