- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for someFunction (0.29 sec)
-
src/cmd/vet/testdata/print/print.go
// Can't print a function. Printf("%d", someFunction) // ERROR "Printf format %d arg someFunction is a func value, not called" Printf("%v", someFunction) // ERROR "Printf format %v arg someFunction is a func value, not called" Println(someFunction) // ERROR "Println arg someFunction is a func value, not called" Printf("%p", someFunction) // ok: maybe someone wants to see the pointer Printf("%T", someFunction) // ok: maybe someone wants to see the type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 27.5K bytes - Viewed (0) -
src/cmd/cover/testdata/test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4"); private static final Function<Number, String> SOME_FUNCTION = new SomeFunction(); private static class SomeFunction implements Function<Number, String>, Serializable { @Override public String apply(Number n) { return String.valueOf(n); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4"); private static final Function<Number, String> SOME_FUNCTION = new SomeFunction(); private static class SomeFunction implements Function<Number, String>, Serializable { @Override public String apply(Number n) { return String.valueOf(n); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
src/cmd/cover/cover_test.go
file, err = os.ReadFile(coverOutput) if err != nil { t.Fatal(err) } // compiler directive must appear right next to function declaration. if got, err := regexp.MatchString(".*\n//go:nosplit\nfunc someFunction().*", string(file)); err != nil || !got { t.Error("misplaced compiler directive") } // "go:linkname" compiler directive should be present.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:28 UTC 2023 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_printer.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir
// CHECK-NEXT: "tf_executor.island"() ({ // CHECK-NEXT: "tf.Identity"(%{{.*}}) : (tensor<f32>) -> tensor<f32> loc("identity@some_function") // CHECK-NEXT: "tf_executor.yield"(%{{.*}}) : (tensor<f32>) -> () loc("identity@some_function") // CHECK-NEXT: }) : () -> (tensor<f32>, !tf_executor.control) loc("identity@some_function") // CHECK-NEXT: "tf_executor.fetch"(%{{.*}}) : (tensor<f32>) -> () loc(unknown)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 05 14:24:12 UTC 2023 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/exported_python_args.py
import tensorflow.compat.v2 as tf from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common class TestModule(tf.Module): @tf.function(input_signature=[tf.TensorSpec([], tf.float32)]) def some_function(self, x): return self.callee(x) # CHECK: While importing SavedModel function 'callee': in input signature: # CHECK-SAME: Unhandled structured value kind {{.*}} at index path: <value>.1.foo @tf.function
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/shapes_for_arguments.py
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/duplicate_method_names_v1.py
signature_def = tf.saved_model.signature_def_utils.build_signature_def( inputs=None, outputs={'s': tensor_info_s}, method_name='some_function') signature_def2 = tf.saved_model.signature_def_utils.build_signature_def( inputs=None, outputs={'t': tensor_info_t}, method_name='some_function') # Create two signatures that share the same variable. return {'key': signature_def, 'key2': signature_def2}, None, None
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2K bytes - Viewed (0)