Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 132 for statusPort (0.22 sec)

  1. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      graph->swap(output);
      return absl::OkStatus();
    }
    
    /*static*/ Status EncapsulateXlaComputationsPass::BuildXlaLaunchOps(
        Graph* graph,
        const std::function<absl::StatusOr<bool>(const Node&)>& is_xla_launch_node,
        const std::function<absl::StatusOr<XlaFunctionInfo>(const Node&)>&
            get_xla_function_info,
        const bool add_edges_to_output_of_downstream_nodes) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_compile_on_demand_op.cc

      run_options.set_rng_seed(GetXLARandomSeed());
    
      absl::StatusOr<xla::ExecutionOutput> run_result =
          executable->Run(std::move(execution_inputs).value(), run_options);
      TF_RETURN_IF_ERROR(run_result.status());
      xla::ExecutionOutput execution_output = std::move(run_result).value();
      absl::StatusOr<std::vector<VariableInfo>> variable_infos =
          GatherVariableInfo(ctx, *result, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h"
    #include "xla/xla_data.pb.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/platform/statusor.h"
    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace tensorflow {
    using tsl::StatusOr;
    
    inline constexpr absl::string_view kNumCoresPerReplicaAttr =
        "num_cores_per_replica";
    inline constexpr absl::string_view kTopologyAttr = "topology";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

    #include "xla/shape_util.h"
    #include "xla/tests/literal_test_util.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::testing::Test;
    
    class ConvertTfQuantToMhloIntTest : public Test {
     protected:
      void SetUp() override {
        DialectRegistry dialects;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

    static std::string MangleTensor(const Tensor& tensor) {
      return mangling_util::MangleTensor(ConvertToProto(tensor));
    }
    
    // Converts a TensorFlow tensor into an MLIR elements attribute.
    template <typename T>
    absl::StatusOr<ElementsAttr> ConvertFlatTensor(const Tensor& input_tensor,
                                                   ShapedType type) {
      auto arr = input_tensor.flat<T>();
      return ElementsAttr(mlir::DenseElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_cluster_util.cc

                    << incoming_node->name() << " " << incoming_node->type_string();
            return true;
          }
        }
      }
      return false;
    }
    
    absl::StatusOr<bool> CreateCycleDetectionGraph(const Graph* graph,
                                                   GraphCycles* cycles) {
      for (int i = 0; i < graph->num_node_ids(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_compiler_test.cc

    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/notification.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/status_matchers.h"
    #include "tensorflow/core/platform/statusor.h"
    
    namespace tensorflow {
    namespace {
    using ::testing::_;
    using ::testing::Return;
    
    using XlaDeviceCompiler =
        DeviceCompiler<xla::LocalExecutable, xla::LocalClient>;
    using XlaDeviceExecutablePersistor =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/fingerprinting_utils_test.cc

    #include <cstdint>
    #include <string>
    #include <vector>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/platform/path.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_device.h

      // Two convenient methods to get the underlying device context.
      // Get the default device context, created by the first
      // shape_representation_fn.
      absl::StatusOr<DeviceContext*> GetDeviceContextDefault();
      // Get the device context given the index.
      absl::StatusOr<DeviceContext*> GetDeviceContextWithIndex(int index);
    
      // Instructs this XlaDevice to set a AcceleratorDeviceInfo, which holds extra
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/metrics.cc

    #include "tensorflow/cc/saved_model/metrics.h"
    
    #include <cstddef>
    #include <cstdint>
    #include <string>
    #include <utility>
    
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "json/config.h"
    #include "json/json.h"
    #include "json/writer.h"
    #include "tensorflow/core/lib/monitoring/counter.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top