Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for cond_true (0.17 sec)

  1. src/cmd/compile/internal/test/testdata/flowgraph_generator1.go

    // 	goto C
    // Z:
    // 	return y
    // }
    
    // {f:BC_CD_BE_BZ_CZ101,
    //  maxin:32, blocks:[]blo{
    //  	blo{inc:0, cond:true, succs:[2]int64{1, 2}},
    //  	blo{inc:1, cond:true, succs:[2]int64{2, 3}},
    //  	blo{inc:0, cond:true, succs:[2]int64{1, 4}},
    //  	blo{inc:10, cond:true, succs:[2]int64{1, 25}},
    //  	blo{inc:0, cond:true, succs:[2]int64{2, 25}},}},
    
    var labels string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

        if (!matchPattern(op.getCond(), m_Constant(&cond))) return failure();
    
        // TODO(hinsu): Handle constants that are not scalar booleans.
        auto cond_type = mlir::dyn_cast<RankedTensorType>(cond.getType());
        if (!cond_type || !cond_type.getShape().equals({}) ||
            !cond_type.getElementType().isInteger(/*width=*/1))
          return failure();
    
        // Identify the branch to inline.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          if func.signature.name.startswith('cond_false'):
            self.assertTrue(
                any(map(_is_quantized_function_call_node, func.node_def))
            )
          elif func.signature.name.startswith('cond_true'):
            self.assertFalse(
                any(map(_is_quantized_function_call_node, func.node_def))
            )
    
      # Run this test only with the eager mode.
      @test_util.run_v2_only
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K 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/tensorflow/transforms/resource_op_lifting.cc

    void SetAllVarIsInitializedToTrue(Block* block) {
      auto builder = OpBuilder::atBlockBegin(block);
      TF::ConstOp const_true = nullptr;
      for (auto op :
           llvm::make_early_inc_range(block->getOps<TF::VarIsInitializedOp>())) {
        builder.setInsertionPoint(op);
        if (!const_true)
          const_true = builder.create<TF::ConstOp>(
              op.getLoc(),
              DenseIntElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. 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)
  8. licenses/github.com/hashicorp/go-multierror/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: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
  9. licenses/github.com/hashicorp/hcl/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: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/errwrap/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: Sat Oct 26 02:47:39 UTC 2019
    - 15.6K bytes
    - Viewed (0)
Back to top