Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for kTfBackendConfigAttrName (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.cc

        return failure();
      }
    
      auto f = config.get(kCalledFuncAttrName);
      if (f == nullptr) {
        op.emitOpError() << "does not have attribute '" << kCalledFuncAttrName
                         << "' in its dictionary attribute '"
                         << kTfBackendConfigAttrName << "'";
        return failure();
      }
    
      if (auto attr = mlir::dyn_cast<FlatSymbolRefAttr>(f)) {
        return attr;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

        if (!IsTfFuncCustomCall(op)) {
          return WalkResult::advance();
        }
    
        auto backend_config =
            op->getAttrOfType<DictionaryAttr>(kTfBackendConfigAttrName);
        if (!backend_config) {
          op->emitOpError() << "is missing attribute '" << kTfBackendConfigAttrName
                            << "'";
          return WalkResult::interrupt();
        }
        auto called_func = mlir::dyn_cast_or_null<SymbolRefAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

              return WalkResult::advance();
            }
    
            auto backend_config =
                op->getAttrOfType<DictionaryAttr>(kTfBackendConfigAttrName);
            if (!backend_config) {
              op->emitOpError()
                  << "is missing attribute '" << kTfBackendConfigAttrName << "'";
              return WalkResult::interrupt();
            }
    
            auto called_index_attr = mlir::dyn_cast_or_null<IntegerAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top