Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for test1f (0.21 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

      Scope root_;
    };
    
    TEST_F(MathGradTest, MatMulGrad_NoTranspose) {
      TestMatMulGrad<float>(false, false);
    }
    
    TEST_F(MathGradTest, MatMulComplexGrad_NoTranspose) {
      TestMatMulGrad<complex64>(false, false);
    }
    
    TEST_F(MathGradTest, MatMulGrad_TransposeX) {
      TestMatMulGrad<float>(true, false);
    }
    
    TEST_F(MathGradTest, MatMulComplexGrad_TransposeX) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/array_grad_test.cc

    }
    
    TEST_F(ArrayGradTest, UnstackGrad_Axis1) {
      TensorShape x_shape({4, 2, 3});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      // Unstacking the second dimension results in 2 outputs.
      std::vector<TensorShape> y_shapes(2, TensorShape({4, 3}));
      auto y = Unstack(scope_, x, 2, Unstack::Axis(1));
      RunTest({x}, {x_shape}, y.output, y_shapes);
    }
    
    TEST_F(ArrayGradTest, IdentityGrad) {
      TensorShape shape({5, 2});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc

    using ::testing::IsNull;
    using ::testing::Ne;
    using ::testing::NotNull;
    using ::testing::Test;
    
    class CreateI8F32UniformQuantizedTypeTest : public Test {
     protected:
      CreateI8F32UniformQuantizedTypeTest() : ctx_() {
        ctx_.loadDialect<quant::QuantizationDialect>();
      }
    
      MLIRContext ctx_;
    };
    
    TEST_F(CreateI8F32UniformQuantizedTypeTest, I8StorageTypeSucceeds) {
      const UniformQuantizedType quantized_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

      EXPECT_TRUE(failed(TryCast<DotGeneralOp>(nullptr, /*name=*/"nullptr")));
    }
    
    TEST_F(AttrsAndConstraintsTest, I64ValueInI32RangeAreCastedCorrectly) {
      EXPECT_TRUE(succeeded(CastI64ToI32(llvm::minIntN(32))));
      EXPECT_TRUE(succeeded(CastI64ToI32(llvm::maxIntN(32))));
    }
    
    TEST_F(AttrsAndConstraintsTest, CastingFailsForI64ValueOutOfI32Range) {
      EXPECT_TRUE(failed(CastI64ToI32(llvm::minIntN(32) - 10)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

    #include "xla/stream_executor/stream_executor.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/error_codes.pb.h"
    #include "tsl/platform/statusor.h"
    
    namespace stream_executor {
    namespace {
    
    /*** Registration tests ***/
    TEST(StreamExecutor, SuccessfulRegistration) {
      auto plugin_init = [](SE_PlatformRegistrationParams* const params,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

    using ::testing::ElementsAre;
    using ::testing::HasSubstr;
    using ::testing::Key;
    using ::testing::SizeIs;
    using ::tsl::testing::StatusIs;
    
    class CalibrationStatisticsSaverTest : public OpsTestBase {};
    
    TEST_F(CalibrationStatisticsSaverTest, MissingOutputPath) {
      std::vector<std::string> ids{"1"};
      std::vector<int32_t> calibration_methods{
          CalibrationOptions::CALIBRATION_METHOD_AVERAGE_MIN_MAX};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/c/while_loop_test.cc

    //               "output(s)");
    // }
    
    // TODO(skyewm): test bad body output shape
    
    TEST_F(CApiWhileLoopTest, NullName) {
      Init(1);
      CreateCondGraph();
      params_->body_outputs[0] = params_->body_inputs[0];
      params_->name = nullptr;
      ExpectError(TF_INVALID_ARGUMENT, "TF_WhileParams `name` field is null");
    }
    
    TEST_F(CApiWhileLoopTest, WrongGraph) {
      Init(1);
      CreateCondGraph();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. samples/bookinfo/README.md

    ```
    
    Verify that expected image eg: `user1/examples-bookinfo-*:test1.0` is updated in `platform/kube/bookinfo*.yaml` files.
    
    ## Tests
    
    Test that the bookinfo samples work with the latest image eg: `user1/examples-bookinfo-*:test1.0` that you pushed.
    
    ```bash
    $ cd ../../
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

            binary1.name >> "test1"
    
            expect:
            container.add(binary1)
            container.realizeNow()
            def p = container.getByName("test1")
    
            p.present
            p.get() == binary1
        }
    
        def "querying the result of get by name fails when not realized"() {
            def binary1 = Stub(SwiftBinary)
            binary1.name >> "test1"
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

    };
    
    // This should only have unit tests. End to end tests should be done with
    // FILECHECK and MLIR tests.
    class Tf2XlaRewriterTest : public ::testing::Test {
     public:
      void SetUp() override {
        tensorflow::XlaOpRegistry::RegisterCompilationKernels();
      }
    
      Status CreateMlirModule(std::string module_string = kMlirModuleStr) {
        TF_ASSIGN_OR_RETURN(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top