Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for unsigned (0.19 sec)

  1. tensorflow/c/c_api_experimental.cc

      }
    }
    
    unsigned char TF_SetXlaEnableLazyCompilation(unsigned char enable) {
      tensorflow::BuildXlaOpsPassFlags* flags =
          tensorflow::GetBuildXlaOpsPassFlags();
      bool original = flags->tf_xla_enable_lazy_compilation;
      flags->tf_xla_enable_lazy_compilation = enable;
      return original;
    }
    
    unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

      TF_SetConfig(&options->session_options, proto, proto_len, status);
    }
    
    void TFE_ContextOptionsSetAsync(TFE_ContextOptions* options,
                                    unsigned char enable) {
      options->async = enable;
    }
    
    void TFE_ContextOptionsSetDevicePlacementPolicy(
        TFE_ContextOptions* options, TFE_ContextDevicePlacementPolicy policy) {
      options->device_placement_policy = policy;
    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)
  3. tensorflow/c/eager/c_api_experimental.h

                                                          unsigned char enable,
                                                          TF_Status* status);
    
    // Configure device placement policy logging for the eager executor. Note this
    // policy is applied to any subsequent op executions.
    TF_CAPI_EXPORT void TFE_ContextSetLogDevicePlacement(TFE_Context* ctx,
                                                         unsigned char enable,
    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)
  4. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", -1, TF_ATTR_BOOL, -1);
    
      unsigned char value;
      TF_OperationGetAttrBool(oper, "v", &value, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ(1, value);
    }
    
    TEST_F(CApiAttributesTest, BoolList) {
      const unsigned char list[] = {0, 1, 1, 0, 0, 1, 1};
      const size_t list_size = TF_ARRAYSIZE(list);
    
    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_experimental.cc

      return tensorflow::wrap(handle);
    }
    
    void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx, unsigned char enable,
                                           TF_Status* status) {
      tensorflow::unwrap(ctx)->SetAllowSoftPlacement(enable);
    }
    
    void TFE_ContextSetLogDevicePlacement(TFE_Context* ctx, unsigned char enable,
                                          TF_Status* status) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  6. tensorflow/c/c_api_function.cc

    }  // namespace
    }  // namespace tensorflow
    
    using tensorflow::Node;
    using tensorflow::string;
    
    TF_Function* TF_GraphToFunctionWithControlOutputs(
        const TF_Graph* fn_body, const char* fn_name,
        unsigned char append_hash_to_fn_name, int num_opers,
        const TF_Operation* const* opers, int ninputs, const TF_Output* inputs,
        int noutputs, const TF_Output* outputs, const char* const* output_names,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  7. tensorflow/c/c_api.cc

    }
    
    void TF_SetAttrBool(TF_OperationDescription* desc, const char* attr_name,
                        unsigned char value) {
      desc->node_builder.Attr(attr_name, static_cast<bool>(value));
    }
    
    void TF_SetAttrBoolList(TF_OperationDescription* desc, const char* attr_name,
                            const unsigned char* values, int num_values) {
      std::unique_ptr<bool[]> b(new bool[num_values]);
      for (int i = 0; i < num_values; ++i) {
    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)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        op_->node_builder.Attr(attr_name,
                               ArraySlice<const DataType>(values, num_values));
        return absl::OkStatus();
      }
      Status SetAttrBoolList(const char* attr_name, const unsigned char* values,
                             int num_values) override {
        std::unique_ptr<bool[]> b(new bool[num_values]);
        for (int i = 0; i < num_values; ++i) {
          b[i] = values[i];
        }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  9. tensorflow/c/eager/c_api_test_util.cc

      TFE_ContextOptions* opts = TFE_NewContextOptions();
      opts->session_options.options.config.set_isolate_session_state(
          isolate_session_state);
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(false));
      TFE_ContextOptionsSetDevicePlacementPolicy(opts, TFE_DEVICE_PLACEMENT_SILENT);
      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  10. RELEASE.md

                on CPU.
        *   Add nominal support for unsigned 16-bit integer tensor types. Note that
            very few TFLite kernels support this type natively, so its use in mobile
            ML authoring is generally discouraged.
        *   Add support for unsigned 16-bit integer tensor types in cast op.
        *   Experimental support for lowering `list_ops.tensor_list_set_item` with
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top