Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,344 for Auto (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        auto elem_type = filter_type.getElementType();
        auto bias_dim = static_cast<const ConcreteType *>(this)->getBiasDim(
            filter_type.getShape());
        auto bias_type =
            tensorflow::GetTypeFromTFTensorShape({bias_dim}, elem_type);
        auto bias_attr = rewriter.getZeroAttr(bias_type);
        auto bias =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

      Output arg1 = ops::_Arg(s.WithOpName("arg1"), DT_BOOL, 1);
      NameAttrList f;
      f.set_name("f1");
      auto if_op = ops::If(s.WithOpName("if"), arg1,
                           std::initializer_list<Input>{arg0, arg1},
                           {DT_BOOL, DT_RESOURCE}, f, f);
      auto ret0 = ops::_Retval(s.WithOpName("ret0"), if_op.output[0], 0);
      auto ret1 = ops::_Retval(s.WithOpName("ret1"), if_op.output[1], 1);
      NameAttrList cond_fn, body_fn;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

      Type ref_qtype = nullptr;
      for (auto *var_handle_user : var_handle_op.getResult().getUsers()) {
        auto read_variable_op = dyn_cast_or_null<ReadVariableOp>(var_handle_user);
        if (!read_variable_op) continue;
        for (auto *read_variable_user : read_variable_op.getResult().getUsers()) {
          auto q_op = dyn_cast_or_null<QuantizeOp>(read_variable_user);
          if (!q_op || ref_qtype) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

        return false;
    
      if (auto arith_const_op = dyn_cast_or_null<arith::ConstantOp>(op)) {
        // arith ConstOp path.
        auto type =
            mlir::cast<ShapedType>(arith_const_op.getType()).getElementType();
        if (!type.isInteger(32) && !type.isInteger(64)) return false;
      } else if (auto const_op = dyn_cast_or_null<TFL::ConstOp>(op)) {
        // ConstOp path.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top