Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for gtest (0.07 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils_test.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/quantization/stablehlo/utils/math_utils.h"
    
    #include <gtest/gtest.h>
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    TEST(UtilsTest, QuantizeMultiplierNormalMultipliers) {
      int32_t quantized_fraction;
      int32_t shift;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 05:58:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/test_utils.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/transforms/test_utils.h"
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/register_common_dialects.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes_test.cc

    #include "tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.h"
    
    #include <gtest/gtest.h>
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    using mlir::OpPassManager;
    
    TEST(ClusteringBridgePassesTest, AddsBridgePasses) {
      OpPassManager pass_manager;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 10 09:10:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks_test.cc

    #include "tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.h"
    
    #include <cstdint>
    #include <string>
    #include <vector>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/strings/str_cat.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/sparsity/sparsify_model_test.cc

    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/status/status.h"
    #include "flatbuffers/flatbuffer_builder.h"  // from @flatbuffers
    #include "tensorflow/compiler/mlir/lite/schema/schema_generated.h"
    #include "tensorflow/lite/core/model_builder.h"
    #include "tensorflow/lite/tools/optimize/reduced_precision_support.h"
    
    namespace mlir {
    namespace lite {
    namespace {
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:16:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/numerical_utils_test.cc

    #include <cmath>
    #include <optional>
    
    #include <gtest/gtest.h>
    #include "absl/types/optional.h"
    
    namespace mlir {
    namespace quant {
    
    namespace {
    
    double ComposeScale(const QuantizedMultiplier& input) {
      return input.first * exp2(-31 + input.second);
    }
    
    TEST(NumericalUtils, QuantizeMultiplier) {
      // Decompose multiplier larger than 1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils_test.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.h"
    
    #include <cstdint>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Debug.h"
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/flatbuffer_compatibility_test.cc

    limitations under the License.
    ==============================================================================*/
    
    #include <fstream>
    #include <string>
    
    #include <gtest/gtest.h>
    #include "flatbuffers/flatc.h"  // from @flatbuffers
    #include "tensorflow/core/platform/platform.h"
    
    #ifdef PLATFORM_GOOGLE
    #define TFLITE_TF_PREFIX "third_party/tensorflow/"
    #else
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.h"
    
    #include <cstdint>
    #include <string>
    
    #include <gtest/gtest.h>
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/DialectRegistry.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.h"
    
    #include <cstdint>
    #include <string>
    
    #include <gtest/gtest.h>
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/DialectRegistry.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top