Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,694 for Auto (0.17 sec)

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

      OpBuilder builder(func);
    
      func.walk([&](SparseOpInterface sparse_op) {
        const auto& sparse_operands = sparse_op.GetSparseOperands();
        std::vector<std::vector<int>> supported_block_size;
        for (int operand : sparse_operands) {
          auto* op = sparse_op.getOperation();
          auto value = op->getOperand(operand);
    
          auto* inst = value.getDefiningOp();
          if (!inst) {
            continue;
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

        if (auto while_op = llvm::dyn_cast<TF::WhileOp>(use.getOwner())) {
          auto body = while_op.body_function();
          assert(body);
          auto type_from_body = GetElementTypeFromAccess(
              body.getArgument(use.getOperandNumber()), module, infer_from_op);
          if (type_from_body.has_value()) return type_from_body;
        } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(use.getOwner())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      OperationState op_state(loc, op_name);
    
      for (auto input_num : op.inputs) {
        if (input_num == -1) {
          assert(optional_arg_marker != nullptr);
          op_state.addOperands({optional_arg_marker});
        } else {
          op_state.addOperands({vals_map.at(input_num)});
        }
      }
    
      for (auto output_num : op.outputs) {
        auto& tensor = *tensors.at(output_num);
        auto type_or_err = tfl::GetTensorType(tensor, builder);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        SmallVector<Value, 4> dequantized_inputs;
        for (auto& input : op->getOpOperands()) {
          auto input_type = input.get().getType();
          if (IsQI8Type(input_type) || IsQUI8Type(input_type) ||
              IsQI32Type(input_type)) {
            auto dequantized_input_type =
                mlir::quant::QuantizedType::castToExpressedType(input_type);
            builder->setInsertionPoint(op);
            auto dequantize_op = builder->create<TFL::DequantizeOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

      auto attr = mlir::dyn_cast<ArrayAttr>(named_attr.getValue());
      if (!attr) {
        return op->emitError() << "'" << kTfSavedModelIndexPathAttr
                               << "' attribute should be an ArrayAttr";
      }
      for (auto element : attr) {
        if (mlir::isa<StringAttr>(element)) {
          continue;
        }
        if (auto integer = mlir::dyn_cast<IntegerAttr>(element)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        auto symRef = callee.get<SymbolRefAttr>();
        return setCalleeAttr(cast<FlatSymbolRefAttr>(symRef));
      }
      // Indirect call, callee Value is the first operand.
      return setOperand(0, callee.get<Value>());
    }
    
    LogicalResult ConstantTensorOp::verify() {
      ConstantTensorOp op = *this;
      auto input_type = op.getArg().getType();
      auto output_type = op.getOut().getType();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

      // Compute the operation statistics for the currently visited operation.
      total_ops_ = 0;
    
      getOperation()->walk([&](Operation *op) {
        auto op_with_dialect_name = op->getName().getStringRef();
        auto op_name = op->getName().stripDialect();
        auto dialect_name = op->getDialect()->getNamespace();
    
        if (op->getNumResults() > 0 &&
            isa<ShapedType>(op->getResult(0).getType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      auto window_strides__ = window_strides ? _fbb.CreateVector<int64_t>(*window_strides) : 0;
      auto padding__ = padding ? _fbb.CreateVector<int64_t>(*padding) : 0;
      auto lhs_dilation__ = lhs_dilation ? _fbb.CreateVector<int64_t>(*lhs_dilation) : 0;
      auto rhs_dilation__ = rhs_dilation ? _fbb.CreateVector<int64_t>(*rhs_dilation) : 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        llvm::SmallVector<mlir::NamedAttribute, 4> attrs;
        const auto& keys = m.Keys();
        for (size_t i = 0; i < keys.size(); ++i) {
          const auto key = keys[i].AsKey();
          const auto& value = m[key];
          switch (value.GetType()) {
            case flexbuffers::FBT_INT: {
              auto attr = value.AsInt64();
              auto named_attr = builder->getNamedAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/grafana/minio-dashboard.json

            "colorMode": "value",
            "graphMode": "none",
            "justifyMode": "auto",
            "orientation": "auto",
            "reduceOptions": {
              "calcs": [
                "mean"
              ],
              "fields": "",
              "values": false
            },
            "showPercentChange": false,
            "text": {},
            "textMode": "auto",
            "wideLayout": true
          },
          "pluginVersion": "10.4.0",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
Back to top