Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for halse (0.32 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_DeleteContext(ctx);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server.release();
    }
    
    TEST(CAPI, RemoteExecuteChangeServerDef) {
      TestRemoteExecuteChangeServerDef(false);
    }
    TEST(CAPI, RemoteExecuteChangeServerDefAsync) {
      TestRemoteExecuteChangeServerDef(true);
    }
    
    void TestRemoteExecuteUpdateServerDef(bool async) {
      tensorflow::ServerDef server_def = GetServerDef(2);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/grad_test_helper.cc

                 AbstractContext* ctx,
                 absl::Span<AbstractTensorHandle* const> inputs,
                 absl::Span<AbstractTensorHandle*> outputs) -> Status {
        Tape tape(/*persistent=*/false);
        for (size_t i{}; i < inputs.size(); ++i) {
          tape.Watch(inputs[i]);
        }
        std::vector<AbstractTensorHandle*> temp_outputs(1);
        AbstractContextPtr tape_ctx(new TapeContext(ctx, &tape, grad_registry));
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

        // These XLA flags are needed to trigger XLA properly from C (more generally
        // non-Python) clients. If this API is called again with `enable` set to
        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
        flags->tf_xla_cpu_global_jit = true;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top