Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for SmallVector (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/device_util.h"
    
    #include <string>
    
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Error.h"
    #include "llvm/Support/FormatVariadic.h"
    #include "llvm/Support/Regex.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <memory>
    
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.h"
    
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

        return op->emitError() << "cannot partition " << first_operand_type
                               << " (rank = " << rank << ") along dimension "
                               << partition_dim << ".";
      }
    
      llvm::SmallVector<int64_t, 4> partition_dims(is_replicated ? 0 : rank, 1);
      if (!is_replicated) {
        partition_dims[partition_dim] = num_cores_per_replica.getInt();
      }
    
      if constexpr (is_input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.h

    // that can be used with InferShapeForFunction.
    // TF NodeShape uses `,` to separate dimensions, and `:` to separate arguments.
    // Ex: 1,2:3,4,5:6,? --> [[1, 2], [3, 4, 5], [6, ?]]
    absl::StatusOr<SmallVector<SmallVector<int64_t>>> ParseArgumentShapes(
        absl::string_view input_shapes);
    
    // Given a list of refined shapes matching the function arguments of func, runs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.cc

      if (!attr) return success();
    
      // ID pairs are separated by `,`.
      llvm::SmallVector<std::string, 8> str_list =
          absl::StrSplit(attr.getValue().str(), ',', absl::SkipWhitespace());
      id_pairs.reserve(str_list.size());
      for (const std::string& str : str_list) {
        // IDs of one pair are separated by `:`.
        llvm::SmallVector<std::string, 8> id_pair = absl::StrSplit(str, ':');
    
        // Check for malformed IDs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc

                << "from int64 to int32, but lies out of range of int32.\n");
        return failure();
      }
      return static_cast<int32_t>(value);
    }
    
    FailureOr<SmallVector<int32_t>> CastI64ArrayToI32(
        const ArrayRef<int64_t> int64_array) {
      SmallVector<int32_t> int32_array{};
      int32_array.reserve(int64_array.size());
    
      for (const int64_t i64 : int64_array) {
        FailureOr<int32_t> cast_i32 = CastI64ToI32(i64);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.h"
    
    #include <string>
    #include <utility>
    
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <cstdint>
    #include <memory>
    
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.cc

    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/SourceMgr.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/Diagnostics.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top