Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for clustered (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.h

    //   purposes and doesn't affect logic. module_name - What the input module name
    //   is for debugging help.
    //
    // Output: Modifies the input module in place with clustered operations.
    //   status - Whether the transformation to cluster the input MLIR module was
    //   successful.
    tensorflow::Status RunFunctionTf2xlaClusteringBridge(
        mlir::ModuleOp module, bool is_supported_by_replicated_brige,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 23:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

          cluster.constraints = std::move(member.constraints);
    
        // Add operation to the cluster.
        if (auto op = member.source.dyn_cast<Operation *>())
          cluster.operations.emplace_back(op);
      }
    
      llvm::SmallVector<Cluster> clusters;
      for (auto &kv : root_clusters) {
        Cluster &cluster = kv.getSecond();
        // Skip degenerate clusters formed by a single basic block argument.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.h

    // The attribute that marks nodes to be grouped into functions by the
    // encapsulate subgraphs pass.
    extern const char* const kXlaClusterAttr;
    
    // Marks a subset of nodes in the graph which are to be clustered
    // with an attribute _XlaCluster=<cluster id> so they are picked up by the
    // EncapsulateSubgraphsPass.
    class MarkForCompilationPass : public GraphOptimizationPass {
     public:
      MarkForCompilationPass() = default;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 10 22:46:01 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/tests/keras_imagenet_main_graph_mode.golden_summary

    Clustered nodes: 2178
    Unclustered nodes: 446
    Number of clusters: 1
    
    unclustered size 446
     AssignAddVariableOp 2
     Const 2
     DivNoNan 1
     Identity 1
     NoOp 1
     ReadVariableOp 2
     VarHandleOp 435
     _Retval 2
    cluster 0 size 2178
     Add 17
     AddN 72
     ArgMax 1
     AssignAddVariableOp 1
     AssignSubVariableOp 106
     BiasAdd 1
     BiasAddGrad 1
     Cast 3
     Const 357
     Conv2D 53
     Conv2DBackpropFilter 53
     Conv2DBackpropInput 52
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 740 bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/tests/keras_imagenet_main.golden_summary

    Clustered nodes: 2725
    Unclustered nodes: 606
    Number of clusters: 2
    
    unclustered size 606
     AssignAddVariableOp 1
     Const 108
     DivNoNan 1
     Identity 2
     Merge 53
     PlaceholderWithDefault 1
     ReadVariableOp 2
     Switch 1
     _Arg 435
     _Retval 2
    cluster 0 size 1910
     Add 16
     AddN 71
     ArgMax 1
     AssignAddVariableOp 1
     BiasAdd 1
     BiasAddGrad 1
     Cast 115
     Const 407
     Conv2D 53
     Conv2DBackpropFilter 53
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 874 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    llvm::SmallVector<Cluster> FindClustersInTheBlock(
        Block* block, const ClusteringPolicySet& policies,
        std::function<bool(Operation* op)> filter = {});
    
    // Creates a `tf_device.cluster` operation from the clustered operations.
    tf_device::ClusterOp CreateClusterOp(Cluster& cluster, StringAttr policy = {});
    
    // -------------------------------------------------------------------------- //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/cluster_util.h

    // ```
    //
    // Assuming `tf.OpA` and `tf.OpC` are clustered together, the region will be
    // inserted right after `tf.OpC`. The live-out `%0`, however, is used by
    // `tf.OpB`, which won't dominate the region. This function reorders all users
    // of the cluster op to be placed after the cluster op itself so that SSA
    // dominance is preserved after cluster op creation.
    void ReorderOpResultUses(mlir::Operation* cluster);
    
    }  // namespace mlir::TF
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 21 22:33:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/defs.h

    // Implies auto-clustering: tagged nodes will be clustered and compiled with XLA
    // on a best-effort basis.
    extern const char* const kXlaCompileAttr;  // "_XlaCompile"
    
    // Implies auto-clustering within the given scope.
    extern const char* const kXlaScopeAttr;    // "_XlaScope"
    extern const char* const kXlaInternalScopeAttr;  // "_XlaInternalScope"
    
    // The id of the compiled cluster.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 07 01:03:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc

          TF_RET_CHECK(absl::SimpleAtoi(*maybe_cluster, &cluster));
          clustered_nodes++;
        }
        clusters[cluster][n->type_string()]++;
        cluster_size[cluster]++;
      }
    
      string result =
          absl::StrCat("Clustered nodes: ", clustered_nodes,
                       "\nUnclustered nodes: ", cluster_size[kNoCluster],
                       "\nNumber of clusters: ", clusters.size() - 1, "\n\n");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 12:11:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_activity.proto

      int32 clustered_node_count = 2;
    
      // All of the XLA clusters in the TF graph.
      repeated Cluster clusters = 3;
    
      // A histogram of the TF operations that were not clustered.
      repeated OpAndCount unclustered_op_histogram = 4;
    }
    
    // Listeners listening for auto clustering events get messages of this type.
    //
    // Next ID: 4
    message XlaAutoClusteringActivity {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 15 03:11:33 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top