Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for frame_name (0.12 sec)

  1. tensorflow/cc/framework/while_gradients.cc

        outputs->emplace_back(ops::Subtract(scope, inputs[0], 1));
        return scope.status();
      };
    
      string frame_name = BackPropFrameName(while_ctx->frame_name());
      std::vector<Output> outputs;
      TF_RETURN_IF_ERROR(BuildWhileLoop(
          scope, {loop_count}, cond_fn, body_fn, frame_name, &outputs,
          /* create_while_ctx */ false, backprop_execution_pred));
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. tensorflow/cc/ops/while_loop.cc

    Status BuildWhileLoop(const Scope& scope, const std::vector<Output>& inputs,
                          const CondGraphBuilderFn& cond,
                          const BodyGraphBuilderFn& body, const string& frame_name,
                          OutputList* outputs, bool create_while_ctx,
                          Output* cond_output) {
      DCHECK(!inputs.empty());
      DCHECK(outputs != nullptr);
      DCHECK(outputs->empty());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/node_matchers_test.cc

    }
    
    TEST(NodeMatchers, Attrs) {
      Scope root = Scope::NewRootScope().ExitOnError();
      Output enter = ops::internal::Enter(
          root.WithOpName("enter"),
          ops::Placeholder(root.WithOpName("data"), DT_FLOAT), "frame_name",
          ops::internal::Enter::Attrs{}.IsConstant(true));
      EXPECT_THAT(enter.node(), NodeWith(Attr("is_constant", true)));
      EXPECT_EQ(Explain(enter.node(), NodeWith(Attr("is_constant", false))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt

        val tracer = this.tracer
        return if (tracer == null) {
            writeAction()
        } else {
            val frameName = name()
            try {
                tracer.open(frameName)
                writeAction()
            } finally {
                tracer.close(frameName)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. tests/connpool_test.go

    	}
    
    	tx.Rollback()
    
    	if err = db.First(&User{}, "name = ?", "transaction").Error; err == nil {
    		t.Fatalf("Should not find record after rollback, but got %v", err)
    	}
    
    	txDB := db.Where("fake_name = ?", "fake_name")
    	tx2 := txDB.Session(&gorm.Session{NewDB: true}).Begin()
    	user2 := *GetUser("transaction-2", Config{})
    	if err = tx2.Save(&user2).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top