Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for attribute (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/c/c_api_experimental.h

    // needs to be updated with the argument length of the input list.
    // Returns nullptr if there is any problem like op_name is not found, or the
    // argument does not support this attribute type.
    TF_CAPI_EXPORT extern const char* TF_GetNumberAttrForOpListInput(
        const char* op_name, int input_index, TF_Status* status);
    
    // Returns 1 if the op is stateful, 0 otherwise. The return value is undefined
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/gradients.cc

        // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs.
        forward_op_->outputs.push_back(retvals[i]);
      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
      forward_op_->attrs.BuildNodeDef();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      // Runtime. This is necessary to decouple runtime-dependent
      // code that is layered on top of the runtime.
      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

          // starting on the next operation.
          finished_join_.wait(l);
        }
        context_ = context;
        operation_name_ = operation_name;
        step_id_ = step_id;
        op_inputs_ = inputs;
        attributes_ = attributes;
        expected_max_outputs_ = expected_max_outputs;
        cancellation_manager_ = &cancellation_manager;
        execution_state_ = ExecutionState::kReadyToExecute;
      }
      start_execute_.notify_one();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // its corresponding inputs from the input ParallelTensors. Wraps the
      // resulting per-device and per-output TFE_TensorHandles into one
      // ParallelTensor per output of the original operation.
      //
      // Attributes are forwarded to executed operations unmodified.
      //
      // The returned optional has a value if and only if `status` evaluates to
      // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device.cc

        const ParallelDevice& parallel_device,
        const std::string& parallel_device_name, TFE_Context* context,
        std::vector<MaybeParallelTensorUnowned> inputs, const char* operation_name,
        const TFE_OpAttrs* attributes, int expected_max_outputs,
        TF_Status* status) {
      absl::optional<std::vector<MaybeParallelTensorOwned>> result;
      // TODO(allenl): We should remove "TPU" from these op names at the very least,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
Back to top