Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for getParams (0.16 sec)

  1. tensorflow/c/eager/gradients_test.cc

    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    };
    
    Status RegisterGradients(GradientRegistry* registry) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/nn_grad_test.cc

        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        status_ = StatusFromTF_Status(status.get());
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
        {
          AbstractContext* ctx_raw = nullptr;
          status_ =
              BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
          ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/custom_gradient_test.cc

    class CustomGradientTest
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    };
    
    class PassThroughGradientFunction : public GradientFunction {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

    TEST_P(CSavedModelAPITest, LoadsSavedModelWithTags) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      bool use_tfrt = GetParam();
      if (use_tfrt) {
        TFE_DeleteContextOptions(opts);
        TF_DeleteStatus(status);
        GTEST_SKIP();  // TODO(chky) : Enable this once TFRT is open sourced.
      }
    
      TFE_ContextOptionsSetTfrt(opts, use_tfrt);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    // or "pattern", whichever you prefer to think.
    
    TEST_P(FooTest, DoesBlah) {
      // Inside a test, access the test parameter with the GetParam() method
      // of the TestWithParam<T> class:
      EXPECT_TRUE(foo.Blah(GetParam()));
      ...
    }
    
    TEST_P(FooTest, HasBlahBlah) {
      ...
    }
    
    // Finally, you can use INSTANTIATE_TEST_CASE_P to instantiate the test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. testing/performance/src/templates/workerApiProject/buildSrc/src/main/java/com/example/worker/WorkerTask.java

                        workerConfiguration.setIsolationMode(isolationMode);
    
                        File outputFile = new File(outputDir, "out-" + index + ".txt");
                        workerConfiguration.setParams(index, outputFile);
                    }
                });
            }
        }
    
        @OutputDirectory
        public File getOutputDir() {
            return outputDir;
        }
    
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

        model_ = UnPackFlatBufferModel(*readonly_model_);
      }
    };
    
    TEST_P(QuantizeCustomOpTest, VerifyMixedQuantization) {
      auto status = QuantizeModelAllOperators(&model_, GetParam(), GetParam(),
                                              /*allow_float=*/true, GetParam(),
                                              output_buffer_);
      ASSERT_THAT(status, Eq(kTfLiteOk));
      const auto& subgraph = model_.subgraphs[0];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

      auto status_or = GetTPUCompilationAndExecutionDevices(
          devices, std::get<0>(GetParam()), std::get<1>(GetParam()),
          std::get<2>(GetParam()), std::get<3>(GetParam()));
      ASSERT_FALSE(status_or.ok());
      EXPECT_EQ(status_or.status().message(), std::get<4>(GetParam()));
    }
    
    std::string TopologyWithMeshShape(llvm::ArrayRef<int> mesh_shape) {
      tpu::TopologyProto topology_proto;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.ActionConfiguration.getParams()> does not have raw return type assignable to org.gradle.api.provider.Property in (ActionConfiguration.java:0)
    Method <org.gradle.api.AntBuilder.getAnt()> does not have raw return type assignable to org.gradle.api.provider.Provider in (AntBuilder.java:0)
    Method <org.gradle.api.AntBuilder.getLifecycleLogLevel()> does not have raw return type assignable to org.gradle.api.provider.Property in (AntBuilder.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    //   }
    //   virtual void SetUp() {
    //     // Can use GetParam() here.
    //   }
    //   virtual void TearDown {
    //     // Can use GetParam() here.
    //   }
    // };
    // TEST_P(FooTest, DoesBar) {
    //   // Can use GetParam() method here.
    //   Foo foo;
    //   ASSERT_TRUE(foo.DoesBar(GetParam()));
    // }
    // INSTANTIATE_TEST_CASE_P(OneToTenRange, FooTest, ::testing::Range(1, 10));
    
    template <typename T>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
Back to top