Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for unsigned (0.2 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/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)
  4. 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)
  5. 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)
  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/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)
  8. 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)
  9. CONTRIBUTING.md

    ***NOTE***: Only original source code from you and other people that have signed the CLA can be accepted into the main repository.
    
    ### Contributing code
    
    If you have improvements to TensorFlow, send us your pull requests! For those
    just getting started, GitHub has a
    [how-to](https://help.github.com/articles/using-pull-requests/).
    
    TensorFlow team members will be assigned to review your pull requests. Once the
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top