- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,034 for FUNC (0.06 sec)
-
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) -
src/cmd/link/internal/loader/symbolbuilder.go
func (sb *SymbolBuilder) Type() sym.SymKind { return sb.kind } func (sb *SymbolBuilder) Size() int64 { return sb.size } func (sb *SymbolBuilder) Data() []byte { return sb.data } func (sb *SymbolBuilder) Value() int64 { return sb.l.SymValue(sb.symIdx) } func (sb *SymbolBuilder) Align() int32 { return sb.l.SymAlign(sb.symIdx) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 15:25:19 UTC 2023 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
// test stablehlo roundtrip // Identity function to make the exporter happy func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> { func.return %arg0 : tensor<4xi8> } //CHECK:func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> attributes {tf.entry_function = {inputs = "arg0", outputs = "arg0"}} { //CHECK: return %arg0 : tensor<4xi8> //CHECK:} func.func @logistic(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (1)