Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for float (0.13 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)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

                         "], which is not type DT_RESOURCE."));
        status->status = cc_status;
        return nullptr;
      }
      const tensorflow::ResourceHandle& handle =
          arg_tensor.flat<tensorflow::ResourceHandle>()(0);
      tensorflow::Var* variable;
      cc_status = tensorflow::LookupResource(cc_ctx, handle, &variable);
      return new TF_VariableInfo(index, handle.name(), variable);
    }
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top