Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 70 for tcgetattr (0.3 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                                  const char* attr_name) {
      bool out = false;
      bool attr_value;
      if (TryGetNodeAttr(node->attrs(), attr_name, &attr_value)) {
        out |= attr_value;
      }
    
      if (flib_def->GetAttr(*node, attr_name, &attr_value).ok()) {
        out |= attr_value;
      }
      return out;
    }
    
    Status MarkForCompilationPassImpl::BuildInitialClusterSet() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        }
        // Recreate the attributes dictionary to only contain "value".
        NamedAttrList attributes;
        attributes.append(NamedAttribute(value_str_attr, cst->getAttr("value")));
        cst->setAttrs(attributes.getDictionary(&getContext()));
      });
    
      auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>();
      for (auto func : getOperation().getOps<mlir::func::FuncOp>())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

          for (const auto& attr_name : attr_names) {
            if (!global_iter_id_op->hasAttr(attr_name)) continue;
            offset->setAttr(attr_name, global_iter_id_op->getAttr(attr_name));
            new_global_iter_id->setAttr(attr_name,
                                        global_iter_id_op->getAttr(attr_name));
          }
          // Make the next function to get inlined use a different offset.
          ++offset_value;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. fastapi/routing.py

                    "/"
                ), "A path prefix must not end with '/', as the routes will start with '/'"
            else:
                for r in router.routes:
                    path = getattr(r, "path")  # noqa: B009
                    name = getattr(r, "name", "unknown")
                    if path is not None and not path:
                        raise FastAPIError(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      if (padding == tensorflow::Padding::EXPLICIT) {
        ArrayRef<Attribute> explicit_padding;
        ArrayAttr explicit_pad = mlir::dyn_cast_or_null<::mlir::ArrayAttr>(
            op->getAttr("explicit_paddings"));
        if (!explicit_pad) {
          explicit_pad = ::mlir::Builder(op->getContext()).getI64ArrayAttr({});
        }
        explicit_padding = explicit_pad.getValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

               llvm::all_of(op->getResultTypes(), is_not_variant);
      };
    
      auto is_set_item_legal = [](Operation *op) {
        return op->hasAttr("resize_if_index_out_of_bounds") &&
               op->getAttr("resize_if_index_out_of_bounds")
                   .cast<mlir::BoolAttr>()
                   .getValue();
      };
    
      ConversionTarget target(*context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        // folding), but we can still derive the shape of a constant tensor for
        // its attribute type.
        auto tensor_attr = mlir::cast<mlir::TypedAttr>(inst->getAttr("value"));
        llvm::ArrayRef<int64_t> shape_ref =
            mlir::cast<TensorType>(tensor_attr.getType()).getShape();
        if (mlir::failed(check_shape(shape_ref))) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    template <typename CallOpClass>
    static LogicalResult VerifyPartitionedCall(CallOpClass op,
                                               SymbolTableCollection &symbolTable) {
      SymbolRefAttr func = op->getAttr("f").template cast<SymbolRefAttr>();
      auto function = symbolTable.lookupNearestSymbolFrom<func::FuncOp>(op, func);
      if (!function) {
        return op.emitError("'f' attribute refers to an undefined function: ")
    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/tf2xla/transforms/legalize_tf.cc

          // avoid compilation failure when exporting "layouts" attribute of the
          // corresponding InfeedDequeueTupleOp to a graph node.
          data_and_token->setAttr("layout", op->getAttr("layouts"));
        }
        llvm::SmallVector<Value> results;
        results.reserve(result_types.size());
        for (const auto &idx_and_type : llvm::enumerate(result_types)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  10. RELEASE.md

            which would previously raise an error. This will correspond to an
            attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only
            be accessed indirectly (e.g. through getattr and setattr). To set this
            up the user will first need to explicitly add the variable to the hparam
            object (e.g. "hparams.add_hparam(name='a.b', value=0.0)").
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top