Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Attribute (0.17 sec)

  1. tensorflow/c/c_api_macros.h

    #else
    #define TF_CAPI_EXPORT __declspec(dllimport)
    #endif  // TF_COMPILE_LIBRARY
    #else
    #ifdef TF_CAPI_WEAK
    #define TF_CAPI_EXPORT \
      __attribute__((visibility("default"))) __attribute((weak))
    #else
    #define TF_CAPI_EXPORT __attribute__((visibility("default")))
    #endif  // TF_CAPI_WEAK
    #endif  // _WIN32
    #endif  // SWIG
    
    // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 04:44:45 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  2. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

     # endif
     #endif
     
    +/* Undefine (also defined in libc-symbols.h).  */
    +#undef __attribute_copy__
    +#if __GNUC_PREREQ (9, 0)
    +/* Copies attributes from the declaration or type referenced by
    +   the argument.  */
    +# define __attribute_copy__(arg) __attribute__ ((__copy__ (arg)))
    +#else
    +# define __attribute_copy__(arg)
    +#endif
    +
     #endif	 /* sys/cdefs.h */
    diff --git a/stdlib/setenv.c b/stdlib/setenv.c
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) {
      auto s = tensorflow::unwrap(op)->SetAttrInt(attr_name, value);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    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)
  4. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(fetchValues[0]);
      TF_DeleteTensor(fetchValues[1]);
    }
    
    // REGISTER_OP for CApiAttributesTest test cases.
    // Registers two ops, each with a single attribute called 'v'.
    // The attribute in one op will have a type 'type', the other
    // will have list(type).
    #define ATTR_TEST_REGISTER_OP(type)                           \
      REGISTER_OP("CApiAttributesTestOp" #type)                   \
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  5. tensorflow/c/eager/c_api.h

    // Removes a function from the context. Once removed, you can no longer
    // TFE_Execute it or TFE_Execute any TFE_Op which has it as an attribute or any
    // other function which calls it as an attribute.
    TF_CAPI_EXPORT extern void TFE_ContextRemoveFunction(TFE_Context* ctx,
                                                         const char* name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -  char ut_host[UT_HOSTSIZE];	/* Hostname for remote login.  */
    +  char ut_line[UT_LINESIZE]
    +    __attribute_nonstring__;	/* Devicename.  */
    +  char ut_id[4]
    +    __attribute_nonstring__;		/* Inittab ID.  */
    +  char ut_user[UT_NAMESIZE]
    +    __attribute_nonstring__;	/* Username.  */
    +  char ut_host[UT_HOSTSIZE]
    +    __attribute_nonstring__;	/* Hostname for remote login.  */
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  7. tensorflow/c/c_api.h

    // TF_AttrMetadata describes the value of an attribute on an operation.
    typedef struct TF_AttrMetadata {
      // A boolean: 1 if the attribute value is a list, 0 otherwise.
      unsigned char is_list;
    
      // Length of the list if is_list is true. Undefined otherwise.
      int64_t list_size;
    
      // Type of elements of the list if is_list != 0.
      // Type of the single value stored in the attribute if is_list == 0.
      TF_AttrType type;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. tensorflow/c/c_api.cc

      op->node.AddAttr(attr_name, attr_val);
      RecordMutation(graph, *op, "setting attribute");
    }
    
    void TF_ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
                      TF_Status* status) {
      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      op->node.ClearAttr(attr_name);
      RecordMutation(graph, *op, "clearing attribute");
    }
    
    void TF_SetFullType(TF_Graph* graph, TF_Operation* op,
    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)
  9. tensorflow/c/eager/c_api_experimental.h

    // APIs for generically dealing with op attributes (e.g. when forwarding them
    // through custom device implementations).
    //
    // TODO(allenl): Currently these are black boxes, but we should have some way to
    // inspect values. This would let people e.g. copy over most attributes and then
    // modify some based on their values.
    
    // A reference to an op's name -> attribute mapping
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/tflite-other.md

        compiling from source placeholder: validations: required: false
    
    -   type: input id: Compiler attributes: label: GCC/Compiler version
        description: if compiling from source placeholder: validations: required:
        false
    
    -   type: input id: Cuda attributes: label: CUDA/cuDNN version description:
        placeholder: validations: required: false
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Dec 29 22:28:29 GMT 2022
    - 3.4K bytes
    - Viewed (1)
Back to top