Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 449 for nilcheck (0.13 sec)

  1. platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java

        final Path path = Paths.get(".");
        final Path pathRoot = Paths.get(".").toAbsolutePath().getRoot();
    
        @Benchmark
        public void nullCheck(Blackhole bh) {
            bh.consume(nullCheck(path));
            bh.consume(nullCheck(pathRoot));
        }
    
        private static Object nullCheck(Path path) {
            Path fileName = path.getFileName();
            if (fileName != null) {
                return fileName.toString();
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/python/mlir_wrapper/filecheck_wrapper.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "llvm/FileCheck/FileCheck.h"
    #include "llvm/Support/SourceMgr.h"
    #include "pybind11/pybind11.h"  // from @pybind11
    #include "pybind11/stl.h"  // from @pybind11
    #include "tensorflow/python/lib/core/pybind11_lib.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 08:13:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

                "new File(\"${filePath}\").$checkKind()"
            }
        }
    
        static FileCheck fileExists(String filePath) {
            new FileCheck(filePath, "exists")
        }
    
        static FileCheck fileIsFile(String filePath) {
            new FileCheck(filePath, "isFile")
        }
    
        static FileCheck fileIsDirectory(String filePath) {
            new FileCheck(filePath, "isDirectory")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/input_arrays.mlir

    // TODO(b/329300758): re-enable filecheck | FileCheck %s
    // Tests -input-arrays flag.
    
    func.func @main(%arg0: tensor<4xf32>) -> tensor<4xf32> {
      %0 = "tfl.pseudo_const" () {value = dense<1.0> : tensor<4xf32>} : () -> tensor<4xf32> loc("Const")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 867 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-smuggle-resize.mlir

    // RUN: odml_to_stablehlo %s -skip-resize -smuggle-disallowed-ops -o - | FileCheck %s
    // RUN: odml-to-stablehlo-opt %s --smuggle-disallowed-ops-pass | FileCheck %s --check-prefix=CHECK-OPT
    
    // CHECK-LABEL: @main
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 975 : i32}, tf_saved_model.semantics}  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir

    // RUN: tf-opt "-xla-legalize-tf=use-tf2xla-fallback=true device-type=XLA_CPU_JIT" -verify-diagnostics %s | FileCheck --check-prefix SUPPORTED_FALLBACK_DEVICE %s
    // RUN: tf-opt "-xla-legalize-tf=use-tf2xla-fallback=true" %s | FileCheck --check-prefix UNSPECIFIED_FALLBACK_DEVICE %s
    // RUN: tf-opt "-xla-legalize-tf=use-tf2xla-fallback=true device-type=INVALID_DEVICE_TYPE" %s | FileCheck --check-prefix UNSUPPORTED_FALLBACK_DEVICE %s
    
    // We run this test four times:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-skip-partitioned-calls.mlir

    // RUN: odml-to-stablehlo-opt %s --tf-stablehlo=skip-partitioned-calls=true | FileCheck %s --check-prefix=CHECK-SKIP
    // RUN: odml-to-stablehlo-opt %s --tf-stablehlo=skip-partitioned-calls=false | FileCheck %s --check-prefix=CHECK-NOSKIP
    
    module {
      func.func @partitioned_call(%arg0: tensor<1x2x2x3xf32>) -> (tensor<1x2x2x3xf32>) {
        %0 = "tf.StatefulPartitionedCall"(%arg0) <{
          config = "", config_proto = "", executor_type = "", f = @some_func
        }> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

    // RUN: tf-opt -tf-saved-model-mark-initialized-variables-test %s | FileCheck %s
    // RUN: tf-opt -tf-saved-model-mark-initialized-variables-invalid-session-test %s | FileCheck %s --check-prefix=INVALID
    
    
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fake_quant.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate -tflite-flatbuffer-to-mlir - -o - | FileCheck --check-prefix=IMPORT %s
    
    func.func @main(tensor<4xf32>) -> tensor<4xf32> {
    ^bb0(%arg0: tensor<4xf32>):
    // CHECK: {
    // CHECK-NEXT:   version: 3,
    // CHECK-NEXT:     operator_codes: [ {
    // CHECK-NEXT:       deprecated_builtin_code: 80,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewritegeneric.go

    	v_0 := v.Args[0]
    	b := v.Block
    	fe := b.Func.fe
    	// match: (NilCheck ptr:(GetG mem) mem)
    	// result: ptr
    	for {
    		ptr := v_0
    		if ptr.Op != OpGetG {
    			break
    		}
    		mem := ptr.Args[0]
    		if mem != v_1 {
    			break
    		}
    		v.copyOf(ptr)
    		return true
    	}
    	// match: (NilCheck ptr:(SelectN [0] call:(StaticLECall _ _)) _)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top