Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for compile (4.46 sec)

  1. tensorflow/c/experimental/gradients/custom_gradient_test.cc

        Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    };
    
    class PassThroughGradientFunction : public GradientFunction {
     public:
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        CHECK_EQ(grad_outputs.size(), 1);
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/math_grad_test.cc

    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

    #include "tensorflow/c/eager/tfe_context_internal.h"
    #include "tensorflow/c/eager/tfe_op_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    #include "tensorflow/compiler/jit/flags.h"
    #include "tensorflow/core/common_runtime/eager/attr_builder.h"
    #include "tensorflow/core/common_runtime/eager/context.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    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)
  4. src/cmd/cgo/internal/swig/testdata/callback/main.cc

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This .cc file will be automatically compiled by the go tool and
    // included in the package.
    
    #include <string>
    #include "main.h"
    
    std::string Caller::call() {
    	if (callback_ != 0)
    		return callback_->run();
    	return "";
    C++
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 384 bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/nn_grad_test.cc

    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        // Compare that the graphs match.
        GraphDef expected_gdef;
        GraphDef gdef;
        EXPECT_TRUE(GetGraphDef(expected_graph_, &expected_gdef));
        EXPECT_TRUE(GetGraphDef(graph_, &gdef));
        TF_EXPECT_GRAPH_EQ(expected_gdef, gdef);
    
        // Compare that the output of the gradients of both graphs match.
    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)
  7. tensorflow/c/eager/c_api_unified_experimental_test.cc

    }
    
    // The above tests are run for a combination of:
    // - graphdef and MLIR tracing engine
    INSTANTIATE_TEST_SUITE_P(Tracing, UnifiedCAPI,
                             ::testing::Combine(::testing::Values("graphdef",
                                                                  "mlir"),
                                                ::testing::Values(false)));
    
    }  // namespace
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

            op, "config_proto",
            reinterpret_cast<const void*>(serialized_config.c_str()),
            serialized_config.length());
      }
    
      if (use_tfrt) {
        // Set some test-only graph compiler options.
        TFE_OpSetAttrBool(op, "TFRT_TEST_enable_native_ops", false);
        TFE_OpSetAttrBool(op, "TFRT_TEST_enable_grappler", enable_grappler);
      }
    
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/gradients/array_grad_test.cc

    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
                           /*use_function*/ ::testing::Values(true, false)));
    #else
    INSTANTIATE_TEST_SUITE_P(
        UnifiedCAPI, CppGradients,
        ::testing::Combine(::testing::Values("graphdef", "mlir"),
                           /*tfrt*/ ::testing::Values(false),
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/dlpack.cc

            case 128:
              *tf_dtype = TF_DataType::TF_COMPLEX128;
              return absl::OkStatus();
            default:
              return tensorflow::errors::InvalidArgument(
                  "Unsupported Complex bits: ", dtype.bits);
          }
          break;
        default:
          return tensorflow::errors::InvalidArgument("Unsupported Type Codes: ",
                                                     dtype.code);
      }
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top