Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for trigger (0.29 sec)

  1. tensorflow/c/c_api.cc

              "Operation '", op.node.DebugString(), "' was changed by ",
              mutation_type,
              " after it was run by a session. This mutation will have no effect, "
              "and will trigger an error in the future. Either don't modify "
              "nodes after running them or create a new session.");
        }
      }
    }
    
    namespace {
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

          config.mutable_graph_options()->mutable_optimizer_options();
      if (enable) {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1);
    
        // These XLA flags are needed to trigger XLA properly from C (more generally
        // non-Python) clients. If this API is called again with `enable` set to
        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      TFE_TensorHandle* retval[1] = {nullptr};
      int num_retvals = 1;
      TFE_Op* op = TFE_NewOp(ctx, "AddFunction", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Add a config_proto attr, to trigger grappler graph rewrites in the current
      // eager runtime.
      if (enable_grappler) {
        tensorflow::ConfigProto config;
        // Do not skip grappler optimization even for small graphs.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      status = env_->NewRandomAccessFile(filepath, &read_file);
      if (!status.ok())
        GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status;
    
      char scratch[64 /* must be bigger than test_data */] = {0};
      StringPiece result;
      // read at least 1 byte more than test_data
      status = read_file->Read(0, test_data.size() + 1, &result, scratch);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_distributed_test.cc

      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          VariableAddFunctionSignature(), &def));
      return def.SerializeAsString();
    }
    
    // A graph optimization pass that would fail when triggered for more than once.
    class GraphErrorInjectionPass : public tensorflow::GraphOptimizationPass {
     public:
      static bool enabled_;
      GraphErrorInjectionPass() {}
    
      tensorflow::Status Run(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        return -1;
      }
      int64_t read;
      auto content_length = stream.headers().find("content-length");
      if (content_length == stream.headers().end()) {
        // When we read a file with offset that is bigger than the actual file size.
        // GCS will return an empty header (e.g no `content-length` header). In this
        // case, we will set read to `0` and continue.
        read = 0;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top