Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for attr (0.17 sec)

  1. tensorflow/c/eager/gradients.cc

      return op_->SetAttrInt(attr_name, value);
    }
    Status SetAttrFloat(AbstractOperation* op_, const char* attr_name, float value,
                        ForwardOperation* forward_op_) {
      forward_op_->attrs.Set(attr_name, value);
      return op_->SetAttrFloat(attr_name, value);
    }
    Status SetAttrBool(AbstractOperation* op_, const char* attr_name, bool value,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      desc->node_builder.Attr(
          attr_name, ArraySlice<const DataType>(
                         reinterpret_cast<const DataType*>(values), num_values));
    }
    
    void TF_SetAttrPlaceholder(TF_OperationDescription* desc, const char* attr_name,
                               const char* placeholder) {
      tensorflow::AttrValue attr_value;
      attr_value.set_placeholder(placeholder);
      desc->node_builder.Attr(attr_name, attr_value);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. docs/debugging/xattr/main.go

    		}
    		var names []string
    		if name == "." {
    			attrs, err := listxattr(path)
    			if err != nil {
    				log.Fatalln(fmt.Errorf("listing attributes failed with: %v", err))
    			}
    			names = append(names, attrs...)
    		} else {
    			names = append(names, name)
    		}
    		var data [][]string
    		for _, attr := range names {
    			value, err := getxattr(path, attr)
    			if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/abstract_op_attrs.h

      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual Status GetTypeList(
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_operation.h

      virtual Status SetAttrString(const char* attr_name, const char* data,
                                   size_t length) = 0;
      virtual Status SetAttrInt(const char* attr_name, int64_t value) = 0;
      virtual Status SetAttrFloat(const char* attr_name, float value) = 0;
      virtual Status SetAttrBool(const char* attr_name, bool value) = 0;
      virtual Status SetAttrType(const char* attr_name, DataType value) = 0;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/form-validator/html5.js

    idation-allowing"]+=",float")):h["data-validation-allowing"]+=",float,negative"}if(e.attr("pattern")&&(b.push("custom"),h["data-validation-regexp"]=e.attr("pattern")),e.attr("maxlength")&&(b.push("length"),h["data-validation-length"]="max"+e.attr("maxlength")),!c&&e.attr("list")){var l=[],m=a("#"+e.attr("list"));if(m.find("option").each(function(){l.push(a(this).text())}),0===l.length){var n=a.trim(a("#"+e.attr("list")).text()).split("\n");a.each(n,function(b,c){l.push(a.trim(c))})}m.remove(),a....
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      forward_op_.attrs.Set(attr_name, value);
      return parent_op_->SetAttrFloat(attr_name, value);
    }
    Status TapeOperation::SetAttrBool(const char* attr_name, bool value) {
      forward_op_.attrs.Set(attr_name, value);
      return parent_op_->SetAttrBool(attr_name, value);
    }
    Status TapeOperation::SetAttrType(const char* attr_name, DataType value) {
      forward_op_.attrs.Set(attr_name, value);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  8. .cm/summary_table.cm

                <td>{{ branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='additions') | sum }}</td>
                <td>{{ ((branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='additions') | sum) / (changes.additions + changes.deletions) * 100) | round(2) }}%</td>
                <td>{{ branch.diff.files_metadata | filter(attr='file', list=platform.subprojects) | map(attr='deletions') | sum }}</td>
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tfe_op_attrs_internal.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/abstract_op_attrs.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/c/c_test_util.cc

      bool found_value = false;
      for (const auto& attr : node_def.attr()) {
        if (attr.first == "dtype") {
          if (attr.second.type() == tensorflow::DT_INT32) {
            found_dtype = true;
          } else {
            return false;
          }
        } else if (attr.first == "value") {
          if (attr.second.has_tensor() &&
              attr.second.tensor().int_val_size() == 1 &&
              attr.second.tensor().int_val(0) == v) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
Back to top