Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetAttrBoolList (0.25 sec)

  1. tensorflow/c/eager/gradients.cc

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

        op_->node_builder.Attr(attr_name,
                               ArraySlice<const DataType>(values, num_values));
        return absl::OkStatus();
      }
      absl::Status SetAttrBoolList(const char* attr_name,
                                   const unsigned char* values,
                                   int num_values) override {
        std::unique_ptr<bool[]> b(new bool[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)
  3. tensorflow/c/eager/c_api.cc

      }
    }
    
    void TFE_OpSetAttrBoolList(TFE_Op* op, const char* attr_name,
                               const unsigned char* values, int num_values) {
      auto s =
          tensorflow::unwrap(op)->SetAttrBoolList(attr_name, values, num_values);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrShapeList(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