Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for attrs (0.17 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

                    SmbConstants.FILE_NO_SHARE,
                    attrs,
                    0);
            }
            catch ( SmbAuthException sae ) {
                log.trace("copyTo0", sae);
                int dattrs = dest.getAttributes();
                if ( ( dattrs & SmbConstants.ATTR_READONLY ) != 0 ) {
                    /*
                     * Remove READONLY and try again
                     */
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                long initialSize ) {
            this.cfg = cfg;
            this.fileId = fid;
            this.initialSize = initialSize;
            this.fid = 0;
            this.unc = unc;
            this.flags = flags;
            this.access = access;
            this.attrs = attrs;
            this.options = options;
            this.tree = tree.acquire();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY;
                    if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        attrs &= ~SmbConstants.ATTR_HIDDEN;
                    }
                    f.setAttributes(attrs);
                    assertEquals(attrs, f.getAttributes());
                }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/nn_grad.cc

    };
    
    // TODO(vnvo2409): Add python test
    class BiasAddGradientFunction : public GradientFunction {
     public:
      explicit BiasAddGradientFunction(AttrBuilder f_attrs)
          : forward_attrs_(f_attrs) {}
    
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/DomUtil.java

                final Attr attr = (Attr) attrs.item(i);
                buf.append(' ');
                appendAttr(attr, buf);
            }
        }
    
        /**
         * {@link Attr}の文字列表現を追加します。
         *
         * @param attr
         *            属性。{@literal null}であってはいけません
         * @param buf
         *            文字列バッファ。{@literal null}であってはいけません
         */
        public static void appendAttr(final Attr attr, final StringBuilder buf) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. tests/upsert_test.go

    		t.Errorf("user should be initialized with search value and assign attrs")
    	}
    
    	DB.Save(&User{Name: "find or init", Age: 33})
    	DB.Where(&User{Name: "find or init"}).Attrs("age", 44).FirstOrInit(&user5)
    	if user5.Name != "find or init" || user5.ID == 0 || user5.Age != 33 {
    		t.Errorf("user should be found and not initialized by Attrs")
    	}
    
    	DB.Where(&User{Name: "find or init", Age: 33}).FirstOrInit(&user6)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
Back to top