Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for float (0.12 sec)

  1. tensorflow/c/eager/c_api.cc

              i_vector.push_back(default_value.list().i(i));
            }
            TFE_OpSetAttrIntList(op, attr_name, i_vector.data(), i_size);
          }
          // Float
          if (const int f_size = default_value.list().f_size()) {
            absl::InlinedVector<float, 4> f_vector;
            f_vector.reserve(f_size);
            for (int i = 0; i < f_size; ++i) {
              f_vector.push_back(default_value.list().f(i));
            }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  2. tensorflow/c/c_api.cc

                         float value) {
      desc->node_builder.Attr(attr_name, value);
    }
    
    void TF_SetAttrFloatList(TF_OperationDescription* desc, const char* attr_name,
                             const float* values, int num_values) {
      desc->node_builder.Attr(attr_name,
                              ArraySlice<const float>(values, num_values));
    }
    
    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)
Back to top