Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for cond_true (0.42 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

      %1 = "tf.Add"(%arg0, %0) {device = "/device:CPU:0"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
      func.return %1 : tensor<i32>
    }
    
    // CHECK-LABEL: func @cond_true(%arg0: !tfrt.chain, %arg1: !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor)
    func.func @cond_true(%arg0: tensor<i32>) -> tensor<i32> {
      %0 = "tf.Const"() {device = "/device:CPU:0", value = dense<1> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

    // -----
    
    // A resource is passed into tf.If
    func.func @cond_false(%arg0: tensor<!tf_type.resource<tensor<f32>>>, %arg1: tensor<f32>) -> tensor<f32> {
      func.return %arg1 : tensor<f32>
    }
    
    func.func @cond_true(%arg0: tensor<!tf_type.resource<tensor<f32>>>, %arg1: tensor<f32>) -> tensor<f32> {
      %0 = "tf.Const"() {value = dense<1.000000e+00> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

    // CHECK:  return [[RESULT]] : tensor<?x10xf32>
    }
    
    // CHECK-LABEL:  func private @cond_true
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  4. src/net/http/fs.go

    			break
    		}
    		if im[0] == ',' {
    			im = im[1:]
    			continue
    		}
    		if im[0] == '*' {
    			return condTrue
    		}
    		etag, remain := scanETag(im)
    		if etag == "" {
    			break
    		}
    		if etagStrongMatch(etag, w.Header().get("Etag")) {
    			return condTrue
    		}
    		im = remain
    	}
    
    	return condFalse
    }
    
    func checkIfUnmodifiedSince(r *Request, modtime time.Time) condResult {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      auto const_true = builder.create<TF::ConstOp>(
          reduce_dataset.getLoc(),
          DenseIntElementsAttr::get(
              RankedTensorType::get(/*shape=*/{}, builder.getI1Type()), true));
    
      SmallVector<Value, 4> while_input_values;
      SmallVector<Type, 4> while_input_types;
      while_input_values.push_back(const_true.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    // Select op patterns.
    //===----------------------------------------------------------------------===//
    
     def : Pat<(TF_SelectV2Op MHLO_Tensor:$pred, MHLO_Tensor:$on_true,
                MHLO_Tensor:$on_false),
               (CHLO_BroadcastSelectOp $pred, $on_true, $on_false)>;
    
    //===----------------------------------------------------------------------===//
    // PartitionedCall and LegacyCall op patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver.mlir

        %cst = "tf.Const"() <{value = dense<true> : tensor<i1>}> {device = ""} : () -> tensor<i1>
        %cst_0 = "tf.Const"() <{value = dense<[0.335351914, 0.084816426, -0.664676845]> : tensor<3xf32>}> {device = ""} : () -> tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. licenses/github.com/hashicorp/go-version/LICENSE

       provision shall be reformed only to the extent necessary to make it
       enforceable. Any law or regulation which provides that the language of a
       contract shall be construed against the drafter shall not be used to construe
       this License against a Contributor.
    
    
    10. Versions of the License
    
    10.1. New Versions
    
          Mozilla Foundation is the license steward. Except as provided in Section
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/golang-lru/v2/LICENSE

       necessary to make it enforceable. Any law or regulation which provides that
       the language of a contract shall be construed against the drafter shall not
       be used to construe this License against a Contributor.
    
    
    10. Versions of the License
    
    10.1. New Versions
    
          Mozilla Foundation is the license steward. Except as provided in Section
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 03 20:21:32 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_custom_aggregation_ops.mlir

        %cst = "tf.Const"() <{value = dense<true> : tensor<i1>}> {device = ""} : () -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 32.1K bytes
    - Viewed (0)
Back to top