Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FunctionToHloArgs (0.25 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

    bool ShouldFallbackToGraphCompiler(
        const std::variant<MlirToHloArgs, FunctionToHloArgs>& computation) {
      if (computation.index() == 1) return true;
    
      return std::get<0>(computation).rollout_state ==
             ConfigProto::Experimental::MLIR_BRIDGE_ROLLOUT_DISABLED;
    }
    
    void DumpComputationInput(
        const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>
            computation) {
      if (!VLOG_IS_ON(2)) {
        return;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h

    // compiled XLA HLO. V1 of the tf2xla uses MLIR whereas V0 does not use MLIR.
    //
    // Inputs:
    //  computation - The MLIR module op. It currently takes in
    //  tpu::FunctionToHloArgs but this is deprecated. arg_shapes - The shapes of
    //  the arguments in module_op. device_type - The device type to compile for.
    //  use_tuple_args - Pack the incoming arg shapes into a single tuple.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 07:32:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    #include "tsl/platform/errors.h"
    #include "tsl/platform/status.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    
    using ::tensorflow::tpu::FunctionToHloArgs;
    using ::tensorflow::tpu::GuaranteedConsts;
    using ::tensorflow::tpu::MlirToHloArgs;
    using ::tensorflow::tpu::ShardingAndIndex;
    
    auto* phase2_bridge_compilation_status =
        tensorflow::monitoring::Counter<1>::New(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v1 {
    namespace {
    
    using ::tensorflow::monitoring::testing::CellReader;
    using ::tensorflow::tpu::FunctionToHloArgs;
    using ::tensorflow::tpu::MlirToHloArgs;
    using ::tensorflow::tpu::ShardingAndIndex;
    using ::tsl::monitoring::testing::Histogram;
    
    static constexpr char kCompilationTimeStreamzName[] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.h

    // converted to a Tensorflow graph. Otherwise, the graph compiler will be run.
    absl::Status CompileTensorflowGraphToHlo(
        const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_funcs,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v2 {
    
    using ::tensorflow::monitoring::testing::CellReader;
    using ::testing::Not;
    using ::testing::TestWithParam;
    using tpu::FunctionToHloArgs;
    using tpu::MlirToHloArgs;
    using tpu::ShardingAndIndex;
    using tpu::TPUCompileMetadataProto;
    
    static constexpr char kCompilationTimeStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/phase2_compilation_time";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top