Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for outlining (1.88 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/launch_outlining.mlir

    // RUN: tf-opt %s -split-input-file -tf-device-launch-outlining | FileCheck %s
    
    // Tests simple case of a single `tf_device.launch`.
    
    // CHECK-LABEL: func @single_launch
    // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<?xi32>)
    func.func @single_launch(%arg0: tensor<?xi32>) -> tensor<?xi32> {
      %0 = tf_executor.graph {
        %1:2 = tf_executor.island {
          // CHECK: %[[A_OUTPUT:[0-9]*]] = "tf.A"(%[[ARG_0]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir

    // RUN: tf-opt %s -split-input-file -tf-executor-tpu-v1-island-outlining -split-input-file -verify-diagnostics | FileCheck %s
    
    // CHECK-LABEL: @func0
    func.func @func0(%arg0 : tensor<i1>) -> tensor<f32> {
      %0 = tf_executor.graph {
    // CHECK: island
    // CHECK: PartitionedCall
    // CHECK-SAME: @_tpu_v1_compat_outlined::@_tpu_v1_compat_outlined_func0
        %1:2 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 04 03:54:58 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir

    // RUN: tf-opt %s -split-input-file -tf-device-cluster-outlining | FileCheck %s
    
    // Tests simple case of a single `tf_device.cluster`.
    
    // CHECK-LABEL: func @single_cluster
    // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<?xi32>)
    func.func @single_cluster(%arg0: tensor<?xi32>) -> tensor<?xi32> {
      %0 = tf_executor.graph {
        %1:2 = tf_executor.island {
          // CHECK: %[[A_OUTPUT:[0-9]*]] = "tf.A"(%[[ARG_0]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/encoding/json/fold.go

    	"unicode/utf8"
    )
    
    // foldName returns a folded string such that foldName(x) == foldName(y)
    // is identical to bytes.EqualFold(x, y).
    func foldName(in []byte) []byte {
    	// This is inlinable to take advantage of "function outlining".
    	var arr [32]byte // large enough for most JSON names
    	return appendFoldedName(arr[:0], in)
    }
    
    func appendFoldedName(out, in []byte) []byte {
    	for i := 0; i < len(in); {
    		// Handle single-byte ASCII.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 17:37:27 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/case_op.mlir

    // RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s
    
    // CHECK: func @control_input
    // CHECK-NOT: func @
    // CHECK-LABEL: module @_tpu_v1_compat_outlined
    // CHECK: @_tpu_v1_compat_outlined_func0
    // CHECK: func @branch_0
    // CHECK: func @branch_1
    // CHECK: func @branch_2
    // CHECK: func @branch_3
    // CHECK: func @branch_4
    module {
      func.func @control_input(%arg0: tensor<i1>) -> tensor<i32> {
        %0 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 16:14:17 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/while_op.mlir

    // RUN: tf-opt %s -tf-executor-tpu-v1-island-outlining | FileCheck %s
    
    // CHECK: func @control_input
    // CHECK-NOT: func @
    // CHECK-LABEL: module @_tpu_v1_compat_outlined
    // CHECK: @_tpu_v1_compat_outlined_func0
    // CHECK: func @while_body_with_cluster_attr
    // CHECK: func @while_cond_with_cluster_attr
    // CHECK: func @while_body_without_cluster_attr
    // CHECK: func @while_cond_without_cluster_attr
    // CHECK: func @callee_func
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 04 03:54:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h

        "_xla_outside_compilation";
    // device attr
    inline constexpr llvm::StringRef kDeviceAttr = "device";
    // Function attribute to signal that a function should be skipped from TPU
    // island outlining. The attribute is set in
    // `TpuV1BridgeExecutorIslandCoarsening` and removed in the subsequent
    // `TPUBridgeExecutorIslandOutlining` pass.
    inline constexpr llvm::StringRef kSkipIslandOutlining =
        "_skip_island_outlining";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_buildvcs.txt

    stderr '^go: missing Git command\. See https://golang\.org/s/gogetcmd\nerror obtaining VCS status: .*\n\tUse -buildvcs=false to disable VCS stamping.'
    
    # Adding the -test flag should be strictly additive — it should not suppress the error.
    ! go list -buildvcs=true -test .
    stderr '^go: missing Git command\. See https://golang\.org/s/gogetcmd\nerror obtaining VCS status: .*\n\tUse -buildvcs=false to disable VCS stamping.'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/version_buildvcs_nested.txt

    cp ../../main.go main.go
    ! go build
    stderr '^error obtaining VCS status: main module is in repository ".*root" but current directory is in repository ".*gitsub"$'
    go build -buildvcs=false
    go mod init example.com/root/gitsub
    exec git commit --allow-empty -m empty # status commands fail without this
    go build
    rm go.mod
    cd ..
    ! go build ./gitsub
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_buildvcs_auto.txt

    ! go build -buildvcs -o sub.exe ./sub
    stderr '\Aerror obtaining VCS status: main package is in repository ".*" but current directory is in repository ".*"\n\tUse -buildvcs=false to disable VCS stamping.\n\z'
    
    cd ./sub
    go build -o sub.exe .
    go version -m sub.exe
    ! stdout '^\tbuild\tvcs'
    
    ! go build -buildvcs -o sub.exe .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top