Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getFAttr (0.42 sec)

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

    // LegacyCallOp
    //===----------------------------------------------------------------------===//
    
    LogicalResult LegacyCallOp::verifySymbolUses(
        SymbolTableCollection& symbolTable) {
      StringAttr func_attr = getFAttr().getAttr();
      StringRef func_name = func_attr.getValue();
      func::FuncOp func =
          symbolTable.lookupNearestSymbolFrom<func::FuncOp>(*this, func_attr);
    
      if (!func) {
    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/tensorflow/ir/tf_ops_n_z.cc

    template <typename CallOpClass>
    static void SetPartitionCalleeFromCallable(CallOpClass op,
                                               mlir::CallInterfaceCallable callee) {
      // Direct call.
      if (SymbolRefAttr fAttr = op.getFAttr()) {
        SymbolRefAttr calleeAttr = callee.get<SymbolRefAttr>();
        return op.setFAttr(cast<FlatSymbolRefAttr>(calleeAttr));
      }
      // Indirect call, callee Value is the first operand.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
Back to top