Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_SetAttrBool (0.22 sec)

  1. tensorflow/c/c_api_test.cc

        TF_OperationDescription* desc = TF_NewOperation(graph, "MatMul", name);
        if (transpose_a) {
          TF_SetAttrBool(desc, "transpose_a", 1);
        }
        if (transpose_b) {
          TF_SetAttrBool(desc, "transpose_b", 1);
        }
        TF_AddInput(desc, {l, 0});
        TF_AddInput(desc, {r, 0});
        TF_Operation* op = TF_FinishOperation(desc, s);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

                                                   const float* values,
                                                   int num_values);
    TF_CAPI_EXPORT extern void TF_SetAttrBool(TF_OperationDescription* desc,
                                              const char* attr_name,
                                              unsigned char value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

                             const float* values, int num_values) {
      desc->node_builder.Attr(attr_name,
                              ArraySlice<const float>(values, num_values));
    }
    
    void TF_SetAttrBool(TF_OperationDescription* desc, const char* attr_name,
                        unsigned char value) {
      desc->node_builder.Attr(attr_name, static_cast<bool>(value));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top