Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTfGraphProducerVersion (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/translate_utils.h

    // Returns TensorFlow GraphDef producer version for the given module. Returns an
    // error if the version information is missing for the module or is not valid.
    absl::StatusOr<int64_t> GetTfGraphProducerVersion(mlir::ModuleOp module);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/translate_utils.cc

        if (!bad_consumer_int_attr) return mlir::failure();
    
        versions->mutable_bad_consumers()->Add(bad_consumer_int_attr.getInt());
      }
      return mlir::success();
    }
    
    absl::StatusOr<int64_t> GetTfGraphProducerVersion(mlir::ModuleOp module) {
      auto versions = module->getAttrOfType<::mlir::DictionaryAttr>("tf.versions");
      if (!versions) {
        return errors::Internal(
            "Missing 'tf.versions' attribute on the module, abort.\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top