Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 85 of 85 for getJava (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      llvm::SmallDenseSet<int64_t, 8> index_values;
      bool all_indices_const = true;
      int32_t max_index = -1;
      std::optional<SmallVector<int64_t, 4>> inferred_item_shape;
      for (auto it : llvm::zip(op.getIndices(), op.getData())) {
        Value index = std::get<0>(it);
    
        DenseIntElementsAttr index_attr;
        if (matchPattern(index, m_Constant(&index_attr))) {
          for (int32_t index : index_attr.getValues<int32_t>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        attr = mlir::DenseIntOrFPElementsAttr::getFromRawBuffer(
            mlir::cast<mlir::ShapedType>(
                vhlo_type_converter.convertType(tensor_v1_attr.getType())),
            tensor_v1_attr.getData());
      } else if (auto cst = dyn_cast<tfl::SparseConstOp>(inst)) {
        attr = cst.getCompressedData();
      } else if (auto cst = dyn_cast<tfl::SparseQConstOp>(inst)) {
        attr = cst.getCompressedData();
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      LogicalResult matchAndRewrite(OpTy op,
                                    PatternRewriter &rewriter) const override {
        auto data_type = mlir::dyn_cast<RankedTensorType>(op.getData().getType());
        if (!data_type) return failure();
        int64_t data_rank = data_type.getRank();
    
        auto segment_ids_type =
            mlir::dyn_cast<RankedTensorType>(op.getSegmentIds().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    template <class Op>
    static LogicalResult VerifyUnsortedSegmentReduction(Op op) {
      if (!HasRankAtMost(op.getNumSegments(), 0))
        return op.emitOpError("number of segments should be a 0-D tensor");
    
      auto data_type = op.getData().getType().template dyn_cast<RankedTensorType>();
      auto segment_ids_type =
          op.getSegmentIds().getType().template dyn_cast<RankedTensorType>();
      if (data_type && segment_ids_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  5. src/internal/trace/traceviewer/static/trace_viewer_full.html

    ar i=0;i<frame.componentsOrder.length;i++){var component=frame.components[frame.componentsOrder[i]];this.components.push({lines:buildComponentData(frame,component),scaleX:component.h/frame.maxH,scaleY:component.v/frame.maxV});}},getData:function getData(width,height){var scaleX=this.width/width,scaleY=this.height/height;var component1,component2,component3,component4;var component1Line,component2Line,component3Line,component4Line;var x,y;var offset=0;var Y,Cb,Cr,K,C,M,Ye,R,G,B;var colorTransform;var...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top