Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tool (0.13 sec)

  1. tensorflow/c/c_api.cc

                        unsigned char value) {
      desc->node_builder.Attr(attr_name, static_cast<bool>(value));
    }
    
    void TF_SetAttrBoolList(TF_OperationDescription* desc, const char* attr_name,
                            const unsigned char* values, int num_values) {
      std::unique_ptr<bool[]> b(new bool[num_values]);
      for (int i = 0; i < num_values; ++i) {
        b[i] = values[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/c_api_experimental.cc

          tensorflow::GetBuildXlaOpsPassFlags();
      bool original = flags->tf_xla_enable_lazy_compilation;
      flags->tf_xla_enable_lazy_compilation = enable;
      return original;
    }
    
    unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable) {
      tensorflow::MarkForCompilationPassFlags* flags =
          tensorflow::GetMarkForCompilationPassFlags();
      bool original = flags->tf_xla_cpu_global_jit;
    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)
  3. tensorflow/c/c_api_function.cc

    }
    
    TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len,
                                              TF_Status* status) {
      tensorflow::FunctionDef fdef;
      bool success = fdef.ParseFromArray(proto, proto_len);
      if (!success) {
        status->status = InvalidArgument(
            "Invalid FunctionDef given to TF_FunctionImportFunctionDef");
        return nullptr;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/eager/c_api_experimental.cc

    }
    
    TFE_Executor* TFE_NewExecutor(bool is_async, bool enable_streaming_enqueue,
                                  int in_flight_nodes_limit) {
      return new TFE_Executor(is_async, enable_streaming_enqueue,
                              in_flight_nodes_limit);
    }
    
    void TFE_DeleteExecutor(TFE_Executor* executor) { delete executor; }
    
    bool TFE_ExecutorIsAsync(TFE_Executor* executor) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  5. tensorflow/c/c_api_test.cc

      // Serialize to GraphDef.
      GraphDef graph_def;
      ASSERT_TRUE(GetGraphDef(graph, &graph_def));
    
      // Validate GraphDef is what we expect.
      bool found_placeholder = false;
      bool found_scalar_const = false;
      bool found_add = false;
      for (const auto& n : graph_def.node()) {
        if (IsPlaceholder(n)) {
          EXPECT_FALSE(found_placeholder);
          found_placeholder = true;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top