Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 130 for resultType (0.17 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

                                PatternRewriter &rewriter, Location loc,
                                Type result_type, Value input, Value filter,
                                Value bias) const {
        filter = legalizeFilter(rewriter, loc, filter);
        return rewriter.create<TFL::Conv2DOp>(
            loc, result_type, input, filter, bias,
            /*dilation_h_factor=*/state->dilation_height_factor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

          rewriter.setInsertionPointToStart(&cloned_func.getBody().front());
          auto result_type =
              RankedTensorType::get({3}, rewriter.getType<TF::StringType>());
          auto dynamic_key =
              rewriter.create<TF::_XlaCompileMlirPlaceholderProgramKeyOp>(
                  func.getLoc(), /*program=*/result_type, llvm::ArrayRef<Value>{});
    
          auto recv_at_host = rewriter.create<TF::_XlaRecvAtHostOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/net/http/httputil/reverseproxy.go

    	reqUpType := upgradeType(req.Header)
    	resUpType := upgradeType(res.Header)
    	if !ascii.IsPrint(resUpType) { // We know reqUpType is ASCII, it's checked by the caller.
    		p.getErrorHandler()(rw, req, fmt.Errorf("backend tried to switch to invalid protocol %q", resUpType))
    	}
    	if !ascii.EqualFold(reqUpType, resUpType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 23:37:42 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      auto matmul = rewriter.create<TF::BatchMatMulV3Op>(
          loc, RankedTensorType::get(matmul_shape, result_type.getElementType()),
          lhs_flattend, rhs_flattend);
    
      if (result_type.hasStaticShape()) {
        auto reshaped =
            rewriter.create<mhlo::ReshapeOp>(loc, result_type, matmul.getResult());
        return reshaped.getResult();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

                                    /*type=*/xla::ChannelHandle::DEVICE_TO_DEVICE);
    }
    
    LogicalResult ConvertAllReduce(OpBuilder& builder, int64_t channel_id,
                                   TensorType result_type,
                                   DenseIntElementsAttr replica_groups,
                                   StringRef mode, Value input, StringRef merge_op,
                                   StringRef final_op, Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

            Value result = enumerated_result.value();
            Type result_type = result.getType();
            // Add this to the test coverage once we create test ops with none type
            // results.
            if (result_type.isa<NoneType>()) {
              outputs_replaced.insert({result, enumerated_result.index()});
              output_types.push_back(result_type);
              continue;
            }
            Type result_ele_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

      let results = (outs
        Variadic<AnyType>:$results
      );
    
      let regions = (region SizedRegion<1>:$body);
    
      let builders = [
        OpBuilder<(ins "TypeRange":$resultTypes),
        [{
          build($_builder, $_state, resultTypes, mlir::StringAttr {});
        }]>
      ];
    
      let extraClassDeclaration = [{
        Block &GetBody() { return getOperation()->getRegion(0).front(); }
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

                           Value y, BoolAttr incompatible_shape_error) {
      auto result_type = DeduceEqualCmpOpType(&builder, result.location, x, y,
                                              incompatible_shape_error);
      return build(builder, result, result_type, x, y, incompatible_shape_error);
    }
    
    //===----------------------------------------------------------------------===//
    // OneHotOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

        const double scale, int64_t zero_point, int64_t storage_min,
        int64_t storage_max) {
      const auto result_type = cast<ShapedType>(tensor_type);
      if (!isa<FloatType>(result_type.getElementType())) return {};
      Builder builder(result_type.getContext());
    
      // Only support 8-bits and 16-bits
      if (bit_width != 8 && bit_width != 16) return {};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

        if (IsStringType(operand_type)) return true;
      }
      return false;
    }
    
    bool HasStringResult(Operation& op) {
      for (auto result : op.getResults()) {
        auto result_type = getElementTypeOrSelf(result);
        if (IsStringType(result_type)) return true;
      }
      return false;
    }
    
    bool MatchesPattern(Operation& op,
                        const llvm::DenseSet<OperationName>& supported_ops) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top