Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for compilation_result (0.35 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h

    // in the compilation_result.
    absl::StatusOr<std::string> CompileFromMlirToXlaHlo(
        bool lower_to_xla_hlo, const tpu::MlirToHloArgs& computation,
        const tpu::TPUCompileMetadataProto& metadata, llvm::StringRef device_type,
        const XlaShapeLayoutHelpers::ShapeDeterminationFns& shape_determination_fns,
        bool use_tuple_args, XlaCompiler::CompilationResult* compilation_result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.h

        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        xla::CompileOnlyClient* client,
        XlaCompiler::CompilationResult* compilation_result);
    
    }  // namespace v1
    }  // namespace tf2xla
    };  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.cc

          per_core_arg_shapes, client, compilation_result);
    
      if (!old_bridge_status.ok()) {
        IncrementTfMlirBridgeSecondPhaseCounter(
            MlirBridgeSecondPhaseMetric::kMlirCombinedOldFailure);
        return old_bridge_status;
      }
      IncrementTfMlirBridgeSecondPhaseCounter(
          MlirBridgeSecondPhaseMetric::kMlirCombinedOldSuccess);
    
      return *compilation_result;
    }
    
    };  // namespace internal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_executable_persistor_test.cc

        XlaCompiler compiler(DefaultXlaOptions());
    
        XlaCompiler::CompilationResult compilation_result;
        TF_RETURN_IF_ERROR(compiler.CompileGraph(XlaCompiler::CompileOptions(),
                                                 "graph", std::move(graph), args,
                                                 &compilation_result));
        return compilation_result;
      }
    
      XlaCompiler::Options DefaultXlaOptions() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

                                           &compilation_result->xla_input_shapes));
    
      // Compute all output descriptions and resource writes
      return GetOutputInfo(
          module_op, use_resource_updates_for_aliases, shape_determination_fns,
          &compilation_result->xla_output_shape, &compilation_result->outputs,
          &compilation_result->resource_updates);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      bool use_tuple_args = true;
      std::vector<ShardingAndIndex> arg_core_mapping;
      std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
      auto compilation_result = std::make_unique<XlaCompilationResult>();
    
      return LegalizeTfToHlo(mlir_to_hlo_args, metadata_proto, use_tuple_args,
                             /*device_type=*/"XLA_TPU_JIT",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

      auto compilation_result = tensorflow::XlaCompilationResult();
    
      TF_EXPECT_OK(tensorflow::CompileSerializedMlirToXlaHlo(
                       legalization, arg_shapes, /*device_type=*/"XLA_TPU_JIT",
                       /*use_tuple_args=*/true, /*enable_op_fallback=*/false,
                       /*shape_determination_fns=*/{}, &compilation_result)
                       .status());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.h

        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        xla::CompileOnlyClient* client, XlaCompilationResult* compilation_result);
    
    };  // namespace internal
    };  // namespace tf2xla
    };  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_compiler.h

            DeviceCompilationClusterSignature::Hash()(sig), sig.HumanString(),
            options, *out_compilation_result, *out_executable,
            compiler_client_.get()));
      }
    
      cache_value.compilation_result = out_compilation_result.get();
      cache_value.executable = out_executable.get();
      cache_->Store(sig, cache_value.compile_state, cache_value.compilation_status,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

          compilation_results;
      auto result_init = getOperation().walk([&](TF::TPUCompilationResultOp op) {
        auto cluster_id = op->getAttrOfType<StringAttr>("_tpu_compilation_status");
        if (!cluster_id) {
          op->emitOpError("missing '_tpu_compilation_status'");
          return WalkResult::interrupt();
        }
        compilation_results[cluster_id].push_back(op);
        return WalkResult::advance();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top