Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,281 for args_ (0.21 sec)

  1. tensorflow/cc/experimental/libtf/tests/object_test.cc

      l.append(Integer(3));
      EXPECT_EQ(l.Get<Integer>(0)->get(), 3);
      EXPECT_EQ(l.size(), 1);
    }
    
    TaggedValue AddIntegers(TaggedValue args_, TaggedValue kwargs_) {
      auto& args = args_.tuple();
      // auto& kwargs = kwargs_.dict();
      return TaggedValue(args[0].i64() + args[1].i64());
    }
    
    TEST(ObjectTest, TestCast) {
      Integer i(3);
      auto result = Cast<String>(i);
      ASSERT_TRUE(!result.ok());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 21:37:07 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/runtime/runtime.cc

                             AbstractContext* ctx) {
      auto CallFn = [fn_name, fn, ctx](TaggedValue args_,
                                       TaggedValue kwargs_) -> TaggedValue {
        std::cout << "Calling " << fn_name << std::endl;
        tensorflow::StatusOr<TaggedValue> v = fn.Execute(ctx, args_);
        return v.value();
      };
      return TaggedValue(CallFn);
    }
    
    // Import a module from a saved model.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

                          dst_index);
        }
        return absl::OkStatus();
      }
    
      auto input_arg = mlir::cast<BlockArgument>(src);
      auto input_node_it = args_.find(input_arg);
      TF_RET_CHECK(input_node_it != args_.end())
          << "Use of BlockArgument encounted before def!";
      // For argument, there is only one result output, so the index is always 0.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

                          dst_index);
        }
        return absl::OkStatus();
      }
    
      auto input_arg = mlir::cast<BlockArgument>(src);
      auto input_node_it = args_.find(input_arg);
      TF_RET_CHECK(input_node_it != args_.end())
          << "Use of BlockArgument encounted before def!";
      // For argument, there is only one result output, so the index is always 0.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

      bool PropagateParamsAndReturnIfChanged();
    
      // Inserts the Quantize and Dequantize ops according to the propagation
      // result.
      void Finalize();
    
      SmallVector<BlockArgument, 4> GetArgs() { return args_; }
    
      llvm::DenseMap<std::pair<mlir::Operation*, int>, int> GetResultStates() {
        return result_states_;
      }
    
      DenseMap<OpWithResultIndex, QuantStateIndex> result_states_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

        src_arg_pairs->push_back({src_node, arg});
        args_.push_back(arg);
      }
      Node* dst_node = edge->dst();
      Node* dst_image = node_images.at(dst_node);
      int dst_slot = edge->dst_input();
      args_by_dst_[InputTensor(dst_node, dst_slot)] = arg_index;
      graph_->AddEdge(args_[arg_index], 0, dst_image, dst_slot);
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

              user->setOperand(operand_num, new_constant_op);
            }
          }
        }
      });
    }
    
    void QuantizationDriver::SetupAllStates() {
      for (BlockArgument arg : fn_.getArguments()) {
        args_.push_back(arg);
        Value value = arg;
        // If the argument is quantized, it should only has one user.
        if (arg.hasOneUse()) {
          Operation* user = value.use_begin().getUser();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

            given:
            sourceFile << """
                #define HEADER_123 "hello.h"
                #define HEADER(X, Y) X ## Y
                #include HEADER(HEADER_, 123)
            """
    
            expect:
            resolve() == [header]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt

    # CHECK-SAME: _xla_compile_device_type = "GPU"
    # CHECK-SAME: allow_soft_placement
    # CHECK-SAME: control_outputs = ""
    # CHECK-SAME: inputs = "args_0,args_1,args_2,args_3"
    # CHECK-SAME: outputs = "rets_0,rets_1"
    # CHECK:          %[[ISLAND_0:.*]], %[[ISLAND_0_control:.*]] = tf_executor.island wraps "tf.Const"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. docs/bucket/replication/sio-error.sh

    NODES=4
    
    args1=()
    args2=()
    for i in $(seq 1 $NODES); do
    	args1+=("http://localhost:$((9000 + i))/tmp/xl/1/$i ")
    	args2+=("http://localhost:$((9100 + i))/tmp/xl/2/$i ")
    done
    
    for i in $(seq 1 $NODES); do
    	./minio server --address "127.0.0.1:$((9000 + i))" ${args1[@]} & # | tee /tmp/minio/node.$i &
    	./minio server --address "127.0.0.1:$((9100 + i))" ${args2[@]} & # | tee /tmp/minio/node.$i &
    done
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top