Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 132 for statusPort (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

    ==============================================================================*/
    #include <cstdint>
    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    
    #include "absl/status/statusor.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/Twine.h"
    #include "llvm/Support/CommandLine.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    // If enable_op_fallback is set to false, graph is legalized only if the graph
    // analysis for the graph is successful. Otherwise, an error is returned.
    ABSL_DEPRECATED("Use v2/legalize_tf.h::LegalizeMlirToHlo instead.")
    absl::StatusOr<std::string> CompileMlirToXlaHlo(
        mlir::ModuleOp module_op, llvm::ArrayRef<TensorOrResourceShape> arg_shapes,
        llvm::StringRef device_type, bool use_tuple_args, bool enable_op_fallback,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    ==============================================================================*/
    
    #include <cstddef>
    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

        }
      }
      return absl::OkStatus();
    }
    
    // Collects all attribute names to ignore in an MLIR operation when exporting to
    // a TensorFlow NodeDef.
    absl::StatusOr<absl::flat_hash_set<absl::string_view>> GetAttributesToIgnore(
        mlir::Operation* inst, mlir::DictionaryAttr derived_attrs,
        const tensorflow::OpRegistrationData* op_reg_data,
        bool ignore_unregistered_attrs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

    #include "xla/mlir_hlo/mhlo/IR/register.h"
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/statusor.h"
    
    // Tool which lowers TensorFlow Graphs to StableHLO graphs.
    //
    // This tool is used by the ODML Programmability effort to consume input TF
    // graphs, and lower them to StableHLO graphs for use by downstream tools.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/encapsulate_util.cc

    #include "tensorflow/compiler/tf2xla/tf2xla_util.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/protobuf/error_codes.pb.h"
    
    using tsl::StatusOr;
    
    namespace tensorflow {
    
    namespace {
    
    // Returns string attribute value for the node if the attribute is present,
    // otherwise returns empty optional value.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

    #include <functional>
    #include <iostream>
    #include <memory>
    #include <optional>
    #include <string>
    #include <unordered_set>
    #include <vector>
    
    #include "absl/status/statusor.h"
    #include "absl/strings/str_split.h"
    #include "absl/types/span.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringRef.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/platform/statusor.h"
    
    namespace mlir {
    namespace TF {
    namespace internal {
    
    // The name prefix of Flex ops.
    constexpr absl::string_view kFlexOpNamePrefix = "Flex";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/build_xla_ops_pass.cc

                XlaOpRegistry::AutoclusteringPolicy::kAlways;
      return absl::OkStatus();
    }
    
    // Replaces `n` with a `PartitionedCall` op that calls the same function.
    absl::StatusOr<Node*> ReplaceFunctionCallWithPartitionedCall(
        const GraphOptimizationPassOptions& options,
        const FunctionLibraryDefinition& flib_def, Node* n, Graph* g,
        const NameAttrList& func, const Scope& root) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

    //    what it set out to do but this is not actually an error
    //    (e.g. TryToGetTensorFromConstOp was passed a non-Const node).
    //
    //  - A T to indicate a successful operation.
    template <class T>
    using StatusOrOptional = StatusOr<std::optional<T>>;
    
    StatusOrOptional<Tensor> TryToGetTensorFromConstOp(Node* n) {
      if (n->type_string() != "Const") {
        return {std::nullopt};
      }
    
      const TensorProto* proto = nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top