Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for deim (0.04 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

          assert(index[i] < shape[i]);
          assert(index[i] >= 0);
        }
    #endif  // NDEBUG
        for (int64_t dim = shape.size() - 1; dim >= 0; --dim) {
          if (dim == fixed_axis) continue;
          ++index[dim];
          if (index[dim] < shape[dim]) return std::move(index);
          index[dim] = 0;
        }
        return std::nullopt;
      }
    
     protected:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/it/docs/index.md

        * Autocompletamento.
        * Controllo sulle annotazioni di tipo.
    * Validazione dei dati:
        * Errori chiari e automatici quando i dati sono invalidi.
        * Validazione anche per gli oggetti JSON più complessi.
    * <abbr title="anche noto come: serializzazione, parsing, marshalling">Conversione</abbr> dei dati di input: da risorse esterne a dati e tipi di Python. È possibile leggere da:
        * JSON.
        * Path parameters.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 23:58:47 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

        for (const int64_t dim : batch_dimensions) {
          batch_dimensions_.axes.push_back(dim);
          batch_dimensions_.sizes.push_back(type.getDimSize(dim));
        }
    
        for (const int64_t dim : contracting_dimensions) {
          contracting_dimensions_.axes.push_back(dim);
          contracting_dimensions_.sizes.push_back(type.getDimSize(dim));
        }
    
        for (int64_t dim = 0; dim < rank; ++dim) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            dim {
              size: 1
            }
            dim {
              size: 1
            }
            dim {
              size: 1
            }
            dim {
              size: 256
            }
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights"
      op: "Const"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/utils.h

        int64_t dim = output_shape[dim_idx];
        if (truncate && needs_truncation && dim == 1) {
          continue;
        } else if (needs_truncation && dim != 1) {
          needs_truncation = false;
        }
        shape.push_back(ShapedType::isDynamic(dim) ? -1
                                                   : static_cast<int32_t>(dim));
      }
    
      return mlir::DenseElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. docs/vi/docs/python-types.md

    **FastAPI** hoàn toàn được dựa trên những gợi ý kiểu dữ liệu, chúng mang đến nhiều ưu điểm và lợi ích.
    
    Nhưng thậm chí nếu bạn không bao giờ sử dụng **FastAPI**, bạn sẽ được lợi từ việc học một ít về chúng.
    
    !!! note
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

                      int32_t dim) {
      Type attribute_type = builder.getI64Type();
      return builder.create<TF::StridedSliceOp>(
          loc,
          RankedTensorType::get(
              {}, mlir::cast<ShapedType>(shape_value.getType()).getElementType()),
          /*input=*/shape_value,
          /*begin=*/Create1DConstValue<int32_t>(builder, loc, {dim}),
          /*end=*/Create1DConstValue<int32_t>(builder, loc, {dim + 1}),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        auto dim_nums = first_dot.getDotDimensionNumbers();
        return llvm::is_contained(dim_nums.getLhsBatchingDimensions(), dim) ||
               llvm::is_contained(dim_nums.getLhsContractingDimensions(), dim);
      };
    
      // dot_general outputs are always in the
      //   [batch dims, LHS other dims, RHS other dims]
      // layout, so the new concat dim is where the n-th (base-0 counting) LHS other
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

        return errors::FailedPrecondition(
            absl::StrCat("Invalid type: '", subtype_str, "'"));
      }
    
      TensorShapeProto subtype_tensor_shape;
      for (auto& dim : dims) {
        subtype_tensor_shape.add_dim()->set_size(dim);
      }
      *result = {subtype_dtype, subtype_tensor_shape};
      return absl::OkStatus();
    }
    
    Status ParseInputArrayInfo(
        const std::vector<string>& node_names,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        return mlir::TF::ShapeAttr::get(context, std::nullopt);
    
      llvm::SmallVector<int64_t, 4> dims;
      dims.reserve(shape.dim().size());
      for (const auto& dim : shape.dim()) {
        dims.push_back(dim.size() == kTFDynamicSize ? ShapedType::kDynamic
                                                    : dim.size());
      }
      return mlir::TF::ShapeAttr::get(context, llvm::ArrayRef(dims));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top