Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 602 for conversion (0.21 sec)

  1. tensorflow/c/conversion_macros.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_CONVERSION_MACROS_H_
    #define TENSORFLOW_C_CONVERSION_MACROS_H_
    
    #define DEFINE_CONVERSION_FUNCTIONS(cpp_impl, wrapper)                         \
      inline cpp_impl *unwrap(wrapper *w) {                                        \
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon May 04 16:24:03 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_starlette_urlconvertors.py

    client = TestClient(app)
    
    
    def test_route_converters_int():
        # Test integer conversion
        response = client.get("/int/5")
        assert response.status_code == 200, response.text
        assert response.json() == {"int": 5}
        assert app.url_path_for("int_convertor", param=5) == "/int/5"  # type: ignore
    
    
    def test_route_converters_float():
        # Test float conversion
        response = client.get("/float/25.5")
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Nov 27 14:46:06 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tfe_cancellation_manager_internal.h

    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/core/framework/cancellation.h"
    
    struct TFE_CancellationManager;
    typedef struct TFE_CancellationManager TFE_CancellationManager;
    
    namespace tensorflow {
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::CancellationManager,
                                TFE_CancellationManager);
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::CancellationManager*,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 02 18:56:02 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tfe_context_internal.h

    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_TFE_CONTEXT_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_CONTEXT_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/immediate_execution_context.h"
    
    // Wraps a pointer to a context implementation.
    //
    // WARNING: Since the underlying object could be ref-counted a user of this
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 17 19:39:13 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_internal.h

    }  // namespace tracing
    
    DEFINE_CONVERSION_FUNCTIONS(AbstractContext, TF_ExecutionContext)
    DEFINE_CONVERSION_FUNCTIONS(AbstractTensorHandle, TF_AbstractTensor)
    DEFINE_CONVERSION_FUNCTIONS(AbstractFunction, TF_AbstractFunction)
    DEFINE_CONVERSION_FUNCTIONS(AbstractOperation, TF_AbstractOp)
    DEFINE_CONVERSION_FUNCTIONS(OutputList, TF_OutputList)
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  6. 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"
    
    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)
  7. guava/src/com/google/common/cache/LongAdder.java

      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    ```
    
    ### 3. Failure after conversion
    If the conversion is successful, but the generated model is wrong, then state what is wrong:
    
    - Model produces wrong results and/or has lesser accuracy.
    - Model produces correct results, but it is slower than expected.
    
    ### 4. (optional) RNN conversion support
    If converting TF RNN to TFLite fused RNN ops, please prefix [RNN] in the title.
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tfe_op_internal.h

    // TFE_DeleteOp who calls Release() on the operation pointer and deletes
    // the TFE_Op structure.
    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionOperation, TFE_Op);
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionOperation*, TFE_Op*);
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 17 19:39:13 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  10. internal/s3select/sql/value.go

    // it returns false only if there is a conversion failure.
    func (v Value) bytesToInt() (int64, bool) {
    	bytes, _ := v.ToBytes()
    	i, err := strconv.ParseInt(strings.TrimSpace(string(bytes)), 10, 64)
    	return i, err == nil
    }
    
    // Converts untyped value into float. The bool return implies success
    // - it returns false only if there is a conversion failure.
    func (v Value) bytesToFloat() (float64, bool) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top