Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for false (0.16 sec)

  1. tensorflow/c/c_api.cc

            "TF_WhileParams must be created by successful TF_NewWhile() call");
        return false;
      }
      return true;
    }
    
    bool ValidateInputWhileParams(const TF_WhileParams& params, TF_Status* s) {
      if (params.cond_output.oper == nullptr) {
        s->status = InvalidArgument("TF_WhileParams `cond_output` field isn't set");
        return false;
      }
      for (int i = 0; i < params.ninputs; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler_test.cc

      TrivialTestGraphInputYielder fake_input(4, 1, 10, false,
                                              cluster->GetDeviceNames());
      GrapplerItem item;
      CHECK(fake_input.NextItem(&item));
    
      TF_Status* status = TF_NewStatus();
      TF_GraphProperties* graph_properties =
          TF_NewGraphProperties(reinterpret_cast<TF_GrapplerItem*>(&item));
      TF_InferStatically(graph_properties, true, false, false, false, status);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients_test.cc

                           /*tfrt*/ ::testing::Values(false),
                           /*executing_eagerly*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*executing_eagerly*/ ::testing::Values(true, false)));
    #endif
    }  // namespace
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ParseGCSPath("gs://bucket/path/to/object", false, &bucket, &object, status_);
      ASSERT_TF_OK(status_);
      ASSERT_EQ(bucket, "bucket");
      ASSERT_EQ(object, "path/to/object");
    
      ParseGCSPath("gs://bucket/", true, &bucket, &object, status_);
      ASSERT_TF_OK(status_);
      ASSERT_EQ(bucket, "bucket");
    
      ParseGCSPath("bucket/path/to/object", false, &bucket, &object, status_);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_remote_test.cc

    }
    
    TEST(CAPI, RemoteExecute) { TestRemoteExecute(false); }
    TEST(CAPI, RemoteExecuteAsync) { TestRemoteExecute(true); }
    
    void TestRemoteExecuteSilentCopiesOp(bool async, bool remote,
                                         bool remote_func_outputs = false) {
      return TestRemoteExecuteSilentCopies(async, remote, /*func=*/false,
                                           /*heavy_load_on_streaming_rpc=*/false,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 12 00:14:22 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_test.cc

          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config(
          TF_CreateConfig(
              /*enable_xla_compilation=*/false,
              /*gpu_memory_allow_growth=*/true, /*num_cpu_devices=*/2),
          TF_DeleteBuffer);
      TFE_ContextOptionsSetConfig(opts.get(), config->data, config->length,
                                  status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/gradients/math_grad_test.cc

        B.reset(B_raw);
      }
    
      status_ = registry_.Register("MatMul", MatMulRegisterer);
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
      bool transpose_a_vals[] = {false, false, true, true};
      bool transpose_b_vals[] = {false, true, false, true};
      float dA_vals[4][9] = {{24, 15, 6, 24, 15, 6, 24, 15, 6},
                             {18, 15, 12, 18, 15, 12, 18, 15, 12},
                             {24, 24, 24, 15, 15, 15, 6, 6, 6},
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_distributed_test.cc

      // before the function execution starts.
      TFE_ContextAsyncWait(ctx, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Pack 3 variable handles into one TFE_TensorHandle.
      // When remote is false, function device is placed on task0. Handle types are
      // REMOTE, REMOTE, LOCAL on task0. When remote is true, function device is
      // placed on task1, Handle types are LOCAL, REMOTE, LOCAL on task1.
      int num_replicas = 3;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config(
          TF_CreateConfig(
              /*xla*/ false,
              /* gpu_memory_allow_growth */ true, /* num_cpu_devices */
              2),
          TF_DeleteBuffer);
      TFE_ContextOptionsSetConfig(opts.get(), config->data, config->length,
                                  status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/custom_gradient_test.cc

    INSTANTIATE_TEST_SUITE_P(
        CustomGradientTest, CustomGradientTest,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*executing_eagerly*/ ::testing::Values(true, false)));
    
    }  // namespace
    }  // namespace internal
    }  // namespace gradients
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top