Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SetAttrFloatList (0.12 sec)

  1. tensorflow/c/eager/gradients_internal.h

    absl::Status SetAttrStringList(AbstractOperation*, const char* attr_name,
                                   const void* const* values, const size_t* lengths,
                                   int num_values, ForwardOperation*);
    absl::Status SetAttrFloatList(AbstractOperation*, const char* attr_name,
                                  const float* values, int num_values,
                                  ForwardOperation*);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_operation.h

                                             int num_values) = 0;
      virtual absl::Status SetAttrStringList(const char* attr_name,
                                             absl::Span<string const> values);
      virtual absl::Status SetAttrFloatList(const char* attr_name,
                                            const float* values,
                                            int num_values) = 0;
      virtual absl::Status SetAttrIntList(const char* attr_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.cc

    }
    absl::Status SetAttrFloatList(AbstractOperation* op_, const char* attr_name,
                                  const float* values, int num_values,
                                  ForwardOperation* forward_op_) {
      forward_op_->attrs.Set(attr_name,
                             gtl::ArraySlice<const float>(values, num_values));
      return op_->SetAttrFloatList(attr_name, values, num_values);
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

            v.emplace_back(static_cast<const char*>(values[i]), lengths[i]);
          }
          op_->node_builder.Attr(attr_name, v);
        }
        return absl::OkStatus();
      }
      absl::Status SetAttrFloatList(const char* attr_name, const float* values,
                                    int num_values) override {
        op_->node_builder.Attr(attr_name,
                               ArraySlice<const float>(values, num_values));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

      }
    }
    
    void TFE_OpSetAttrFloatList(TFE_Op* op, const char* attr_name,
                                const float* values, int num_values) {
      auto s =
          tensorflow::unwrap(op)->SetAttrFloatList(attr_name, values, num_values);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrIntList(TFE_Op* op, const char* attr_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top