Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 153 for CST (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

                if (!matchPattern(q.getOperand(), m_Constant(&attr))) {
                  continue;
                }
                auto cst = rewriter.create<arith::ConstantOp>(
                    quantized_op->getLoc(), attr);
                quantizing_op->setOperand(i, cst.getResult());
              }
            }
    
            for (int i = 0, e = quantized_op->getNumResults(); i < e; ++i) {
              if (!quantizing_op->getResult(i)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. src/net/http/httputil/reverseproxy_test.go

    			select {
    			case <-triggerCancelCh:
    			default:
    				t.Errorf("Failed to write terminal message: %v", err)
    			}
    		}
    		bufrw.Flush()
    	}))
    	defer cst.Close()
    
    	backendURL, _ := url.Parse(cst.URL)
    	rproxy := NewSingleHostReverseProxy(backendURL)
    	rproxy.ErrorLog = log.New(io.Discard, "", 0) // quiet for tests
    	rproxy.ModifyResponse = func(res *http.Response) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      LogicalResult matchAndRewrite(AssertOp op,
                                    PatternRewriter& rewriter) const override {
        ElementsAttr cst;
        if (matchPattern(op.getCondition(), m_Constant(&cst))) {
          if (cst.getValues<bool>()[0]) {
            rewriter.eraseOp(op);
            return success();
          }
        }
        return failure();
      }
    };
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    }
    // CHECK-LABEL: transpose
    // CHECK-SAME: %[[ARG0:.+]]: tensor<2x3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>>
    // CHECK-NOT: stablehlo.transpose
    // CHECK: %[[CST:.+]] = arith.constant dense<[2, 1, 0]> : tensor<3xi32>
    // CHECK: %[[TRANSPOSE:.+]] = "tfl.transpose"(%[[ARG0]], %[[CST]]) : (tensor<2x3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>>, tensor<3xi32>) -> tensor<4x3x2x!quant.uniform<i8:f32, 2.000000e+00:-1>>
    // CHECK: return %[[TRANSPOSE]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    bool SameTypeOrDefaultCompare(mhlo::ComparisonTypeAttr comparison_type_attr,
                                  ElementsAttr cst) {
      if (!comparison_type_attr) return true;
      auto comparison_type_attr_value = comparison_type_attr.getValue();
      if (comparison_type_attr_value == mhlo::ComparisonType::FLOAT &&
          IsDenseSplatFloatAttr(cst)) {
        return true;
      }
      if ((comparison_type_attr_value == mhlo::ComparisonType::SIGNED ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      // considered dynamic so use -1 here if k is not a constant value.
      int const_k = -1;
      ElementsAttr cst;
      if (matchPattern(k, m_Constant(&cst)))
        // These casts should all be valid due to how Tensor constants are stored.
        // TODO(jpienaar): This should use a helper function.
        const_k = cst.getValues<IntegerAttr>()[0].getValue().getSExtValue();
    
      auto val_type = input.getType().cast<TensorType>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          "tf.MakeIterator"(%arg0, %0) : (tensor<!tf_type.variant>, tensor<!tf_type.resource>) -> ()
          %cst = "tf.Const"() {value = dense<true> : tensor<i1>} : () -> tensor<i1>
          %1:2 = "tf.WhileRegion"(%cst, %arg1) ({
          ^bb0(%arg2: tensor<i1>, %arg3: tensor<i64>):
            "tf.Yield"(%arg2) : (tensor<i1>) -> ()
          }, {
          ^bb0(%arg2: tensor<i1>, %arg3: tensor<i64>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        %cst = "tf.Const"() {value = dense<512> : tensor<i32>} : () -> tensor<i32>
        %2:4 = "tf_device.launch"() ({
          %4 = "tf.Cast"(%arg0) {Truncate = false} : (tensor<512xi64>) -> tensor<512xi32>
          %5 = "tf.TPUCopyWithDynamicShape"(%4,  %cst) {operandSegmentSizes = array<i32: 1, 1>} : (tensor<512xi32>, tensor<i32>) -> tensor<512xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public void DefaultConsumer(); public void consumeLine(String); } org/codehaus/plexus/util/cli/EnhancedStringTokeni.class package org.codehaus.plexus.util.cli; public final synchronized class EnhancedStringTokeni { private java.util.StringTokenizer cst; String cdelim; final boolean cdelimSingleChar; final char cdelimChar; boolean creturnDelims; String lastToken; boolean delimLast; public void EnhancedStringTokeni(String); public void EnhancedStringTokeni(String, String); public void EnhancedStringTokeni(String,...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        auto cst =
            rewriter.create<mhlo::ConstantOp>(op.getLoc(), zero_attr).getResult();
        auto split_updates = rewriter.create<TF::SplitOp>(
            op.getLoc(), split_updates_type, cst, updates);
    
        SmallVector<Value, 6> input_indices;
        input_indices.resize(input_type.getRank(), cst);
    
        for (auto pair :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top