Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TPUEmbeddingOpsRegistry (0.27 sec)

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

    #include <vector>
    
    namespace mlir {
    namespace TF {
    
    const llvm::SmallDenseSet<mlir::TypeID>&
    TPUEmbeddingOpsRegistry::GetOpsTypeIds() {
      return ops_type_ids_;
    }
    
    // static
    TPUEmbeddingOpsRegistry& TPUEmbeddingOpsRegistry::Global() {
      static TPUEmbeddingOpsRegistry* registry = new TPUEmbeddingOpsRegistry;
      return *registry;
    }
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 05:42:28 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tpu_embedding_ops_registry.h

    namespace mlir {
    namespace TF {
    
    // A global ops registry that is used to hold TPU embedding ops.
    //
    // Example:
    //    TPUEmbeddingOpsRegistry::Global().Add<TF::FooOp>();
    //    for (auto op_type_id : TPUEmbeddingOpsRegistry::Global().GetOpsTypeIds())
    //    {
    //      ...
    //    }
    class TPUEmbeddingOpsRegistry {
     public:
      // Add the op to the registry.
      //
      // Adding an op here will allow use old bridge legalization from the MLIR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 05:42:28 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top